summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2019-04-02 12:52:20 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2019-04-05 18:35:02 +0200
commite1074d4b1deb2d26cca5a4aae765939ead91f551 (patch)
treee1b7e51253adc42f013c967b010103ea51ce43ff /fs/f2fs/f2fs.h
parentf2fs: fix potential recursive call when enabling data_flush (diff)
downloadlinux-e1074d4b1deb2d26cca5a4aae765939ead91f551.tar.xz
linux-e1074d4b1deb2d26cca5a4aae765939ead91f551.zip
f2fs: add comment for conditional compilation statement
Commit af033b2aa8a8 ("f2fs: guarantee journalled quota data by checkpoint") added function is_journalled_quota() in f2fs.h, but it located outside of _LINUX_F2FS_H macro coverage, it has been fixed with commit 0af725fcb77a ("f2fs: fix wrong #endif"). But anyway, in order to avoid making same mistake latter, let's add single line comment to notice which #if the last #endif is corresponding to. Signed-off-by: Chao Yu <yuchao0@huawei.com> [Jaegeuk Kim: Remove unnecessary empty EOL] Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '')
-rw-r--r--fs/f2fs/f2fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 5bc7b99fb9c1..30acde08822e 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -3673,4 +3673,4 @@ static inline bool is_journalled_quota(struct f2fs_sb_info *sbi)
return false;
}
-#endif
+#endif /* _LINUX_F2FS_H */