aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/debug.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-05-31 11:14:38 -0400
committerArtem Bityutskiy <dedekind1@gmail.com>2011-07-04 03:54:27 -0400
commitd808efb407e1a2cf83a8d21411157195f26bdef9 (patch)
treea939d339288290b10b332dc6890646e68867aa20 /fs/ubifs/debug.h
parentbb2615d4d14777fd37e2b91bd99b92c0354813d1 (diff)
UBIFS: amend debugging inode size check function prototype
Add 'const struct ubifs_info *c' parameter to 'dbg_check_synced_i_size()' function because we'll need it in the next patch when we switch to debugfs. So this patch is just a preparation. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/debug.h')
-rw-r--r--fs/ubifs/debug.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/ubifs/debug.h b/fs/ubifs/debug.h
index a51c20be655d..90805bd49456 100644
--- a/fs/ubifs/debug.h
+++ b/fs/ubifs/debug.h
@@ -247,7 +247,7 @@ int dbg_check_cats(struct ubifs_info *c);
247int dbg_check_ltab(struct ubifs_info *c); 247int dbg_check_ltab(struct ubifs_info *c);
248int dbg_chk_lpt_free_spc(struct ubifs_info *c); 248int dbg_chk_lpt_free_spc(struct ubifs_info *c);
249int dbg_chk_lpt_sz(struct ubifs_info *c, int action, int len); 249int dbg_chk_lpt_sz(struct ubifs_info *c, int action, int len);
250int dbg_check_synced_i_size(struct inode *inode); 250int dbg_check_synced_i_size(const struct ubifs_info *c, struct inode *inode);
251int dbg_check_dir(struct ubifs_info *c, const struct inode *dir); 251int dbg_check_dir(struct ubifs_info *c, const struct inode *dir);
252int dbg_check_tnc(struct ubifs_info *c, int extra); 252int dbg_check_tnc(struct ubifs_info *c, int extra);
253int dbg_check_idx_size(struct ubifs_info *c, long long idx_size); 253int dbg_check_idx_size(struct ubifs_info *c, long long idx_size);
@@ -416,7 +416,9 @@ static inline int dbg_check_ltab(struct ubifs_info *c) { return 0; }
416static inline int dbg_chk_lpt_free_spc(struct ubifs_info *c) { return 0; } 416static inline int dbg_chk_lpt_free_spc(struct ubifs_info *c) { return 0; }
417static inline int dbg_chk_lpt_sz(struct ubifs_info *c, 417static inline int dbg_chk_lpt_sz(struct ubifs_info *c,
418 int action, int len) { return 0; } 418 int action, int len) { return 0; }
419static inline int dbg_check_synced_i_size(struct inode *inode) { return 0; } 419static inline int
420dbg_check_synced_i_size(const struct ubifs_info *c,
421 struct inode *inode) { return 0; }
420static inline int dbg_check_dir(struct ubifs_info *c, 422static inline int dbg_check_dir(struct ubifs_info *c,
421 const struct inode *dir) { return 0; } 423 const struct inode *dir) { return 0; }
422static inline int dbg_check_tnc(struct ubifs_info *c, int extra) { return 0; } 424static inline int dbg_check_tnc(struct ubifs_info *c, int extra) { return 0; }