]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove save_error_info()
authorAnand Jain <anand.jain@oracle.com>
Thu, 17 Mar 2016 02:38:57 +0000 (10:38 +0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 28 Apr 2016 08:36:54 +0000 (10:36 +0200)
commitf880db7db9e5747be19d07a8236508cf05d8820b
tree9e3348c3b0d3fba22f342abe20a892aa8e635cf6
parent807a5fcaaf6140f514af322fb1f64bf746bcc1ca
btrfs: remove save_error_info()

Actually save_error_info() sets the FS state to error and nothing else.
Further the word save doesn't induce caffeine when compared to the word
set in what actually it does.

So to make it better understandable move save_error_info() code to its
only consumer itself.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/super.c