From d040790391f292bbe5bc6b990c66af9787c855a1 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Fri, 19 Jul 2013 21:12:31 +0400 Subject: [PATCH] prune_super(): sb->s_op is never NULL Signed-off-by: Al Viro --- fs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 + -- 2.39.5