]> git.ipfire.org Git - people/ms/linux.git/blobdiff - fs/gfs2/file.c
Merge tag 'gfs2-v5.19-rc4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git...
[people/ms/linux.git] / fs / gfs2 / file.c
index 2cceb193dcd85f029023293ecc0cc6602576958a..d8f1239344c1f708fab98eb8ea5e587e6b090398 100644 (file)
@@ -1066,8 +1066,7 @@ out_unlock:
                gfs2_glock_dq(gh);
 out_uninit:
        gfs2_holder_uninit(gh);
-       if (statfs_gh)
-               kfree(statfs_gh);
+       kfree(statfs_gh);
        from->count = orig_count - written;
        return written ? written : ret;
 }