summaryrefslogtreecommitdiffstats
path: root/fs/super.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-07-19 21:12:31 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-09-07 19:54:56 -0400
commitd040790391f292bbe5bc6b990c66af9787c855a1 (patch)
treed970986d5e4412063bc78d2ac6288c6cba5fab17 /fs/super.c
parentdfc59e2c90f780653e7b0b749c2a547a9bb1b2ce (diff)
downloadop-kernel-dev-d040790391f292bbe5bc6b990c66af9787c855a1.zip
op-kernel-dev-d040790391f292bbe5bc6b990c66af9787c855a1.tar.gz
prune_super(): sb->s_op is never NULL
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/super.c')
-rw-r--r--fs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/super.c b/fs/super.c
index 5536a95..f6961ea 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -71,7 +71,7 @@ static int prune_super(struct shrinker *shrink, struct shrink_control *sc)
if (!grab_super_passive(sb))
return -1;
- if (sb->s_op && sb->s_op->nr_cached_objects)
+ if (sb->s_op->nr_cached_objects)
fs_objects = sb->s_op->nr_cached_objects(sb);
total_objects = sb->s_nr_dentry_unused +
OpenPOWER on IntegriCloud