]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/f2fs/node.h
Merge remote-tracking branch 'pfdo/drm-fixes' into drm-next
[karo-tx-linux.git] / fs / f2fs / node.h
index 271a61c2560128c601867eb703b0214a36dd7eb0..0a2d72f0024ddf88c4df50c46d0eda59a00bbb62 100644 (file)
@@ -242,7 +242,7 @@ static inline bool IS_DNODE(struct page *node_page)
                return false;
        if (ofs >= 6 + 2 * NIDS_PER_BLOCK) {
                ofs -= 6 + 2 * NIDS_PER_BLOCK;
-               if ((long int)ofs % (NIDS_PER_BLOCK + 1))
+               if (!((long int)ofs % (NIDS_PER_BLOCK + 1)))
                        return false;
        }
        return true;