aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r--fs/f2fs/f2fs.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 285e43d602f3..976325d51e3d 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -1060,7 +1060,8 @@ struct f2fs_stat_info {
1060 1060
1061int f2fs_build_stats(struct f2fs_sb_info *); 1061int f2fs_build_stats(struct f2fs_sb_info *);
1062void f2fs_destroy_stats(struct f2fs_sb_info *); 1062void f2fs_destroy_stats(struct f2fs_sb_info *);
1063void destroy_root_stats(void); 1063void f2fs_create_root_stats(void);
1064void f2fs_destroy_root_stats(void);
1064#else 1065#else
1065#define stat_inc_call_count(si) 1066#define stat_inc_call_count(si)
1066#define stat_inc_seg_count(si, type) 1067#define stat_inc_seg_count(si, type)
@@ -1070,7 +1071,8 @@ void destroy_root_stats(void);
1070 1071
1071static inline int f2fs_build_stats(struct f2fs_sb_info *sbi) { return 0; } 1072static inline int f2fs_build_stats(struct f2fs_sb_info *sbi) { return 0; }
1072static inline void f2fs_destroy_stats(struct f2fs_sb_info *sbi) { } 1073static inline void f2fs_destroy_stats(struct f2fs_sb_info *sbi) { }
1073static inline void destroy_root_stats(void) { } 1074static inline void f2fs_create_root_stats(void) { }
1075static inline void f2fs_destroy_root_stats(void) { }
1074#endif 1076#endif
1075 1077
1076extern const struct file_operations f2fs_dir_operations; 1078extern const struct file_operations f2fs_dir_operations;