diff options
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 6 |
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 | ||
1061 | int f2fs_build_stats(struct f2fs_sb_info *); | 1061 | int f2fs_build_stats(struct f2fs_sb_info *); |
1062 | void f2fs_destroy_stats(struct f2fs_sb_info *); | 1062 | void f2fs_destroy_stats(struct f2fs_sb_info *); |
1063 | void destroy_root_stats(void); | 1063 | void f2fs_create_root_stats(void); |
1064 | void 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 | ||
1071 | static inline int f2fs_build_stats(struct f2fs_sb_info *sbi) { return 0; } | 1072 | static inline int f2fs_build_stats(struct f2fs_sb_info *sbi) { return 0; } |
1072 | static inline void f2fs_destroy_stats(struct f2fs_sb_info *sbi) { } | 1073 | static inline void f2fs_destroy_stats(struct f2fs_sb_info *sbi) { } |
1073 | static inline void destroy_root_stats(void) { } | 1074 | static inline void f2fs_create_root_stats(void) { } |
1075 | static inline void f2fs_destroy_root_stats(void) { } | ||
1074 | #endif | 1076 | #endif |
1075 | 1077 | ||
1076 | extern const struct file_operations f2fs_dir_operations; | 1078 | extern const struct file_operations f2fs_dir_operations; |