summaryrefslogtreecommitdiffstats
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
parentdfc59e2c90f780653e7b0b749c2a547a9bb1b2ce (diff)
downloadtalos-op-linux-d040790391f292bbe5bc6b990c66af9787c855a1.tar.gz
talos-op-linux-d040790391f292bbe5bc6b990c66af9787c855a1.zip
prune_super(): sb->s_op is never NULL
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/super.c b/fs/super.c
index 5536a95186e2..f6961ea84c56 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