summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2019-02-15 19:04:38 -0800
committerJaegeuk Kim <jaegeuk@kernel.org>2019-03-12 18:59:11 -0700
commit0af725fcb77a148b7da249fa01f98ceeaa149eec (patch)
tree839989b1bdb672d95d32c674d3a24c586c6ff579 /fs/f2fs/f2fs.h
parentfb40d618b03978b7cc5820697894461f4a2af98b (diff)
downloadlinux-0af725fcb77a148b7da249fa01f98ceeaa149eec.tar.gz
linux-0af725fcb77a148b7da249fa01f98ceeaa149eec.tar.bz2
linux-0af725fcb77a148b7da249fa01f98ceeaa149eec.zip
f2fs: fix wrong #endif
We have to cover whole headerfile with last #endif. Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r--fs/f2fs/f2fs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index f1f0d2810852..19cbf17550c7 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -3626,8 +3626,6 @@ extern void f2fs_build_fault_attr(struct f2fs_sb_info *sbi, unsigned int rate,
#define f2fs_build_fault_attr(sbi, rate, type) do { } while (0)
#endif
-#endif
-
static inline bool is_journalled_quota(struct f2fs_sb_info *sbi)
{
#ifdef CONFIG_QUOTA
@@ -3640,3 +3638,5 @@ static inline bool is_journalled_quota(struct f2fs_sb_info *sbi)
#endif
return false;
}
+
+#endif