projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7a90e8
)
hfsplus: remove useless check
author
Artem Bityutskiy
<artem.bityutskiy@linux.intel.com>
Thu, 12 Jul 2012 14:26:30 +0000
(17:26 +0300)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 22 Jul 2012 19:58:03 +0000
(23:58 +0400)
This check is useless because we always have 'sb->s_fs_info' to be non-NULL.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/hfsplus/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/hfsplus/super.c
b/fs/hfsplus/super.c
index 9e9c278830de156cae150121707c0c4a61b2e43f..f4f3d54630613d4aacbb5a18898b2340c178cb60 100644
(file)
--- a/
fs/hfsplus/super.c
+++ b/
fs/hfsplus/super.c
@@
-240,9
+240,6
@@
static void hfsplus_put_super(struct super_block *sb)
dprint(DBG_SUPER, "hfsplus_put_super\n");
- if (!sb->s_fs_info)
- return;
-
if (!(sb->s_flags & MS_RDONLY) && sbi->s_vhdr) {
struct hfsplus_vh *vhdr = sbi->s_vhdr;