From: Al Viro Date: Fri, 19 Jul 2013 17:12:31 +0000 (+0400) Subject: prune_super(): sb->s_op is never NULL X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d040790391f292bbe5bc6b990c66af9787c855a1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git prune_super(): sb->s_op is never NULL Signed-off-by: Al Viro --- 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 +