diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-05-31 11:14:38 -0400 |
---|---|---|
committer | Artem Bityutskiy <dedekind1@gmail.com> | 2011-07-04 03:54:27 -0400 |
commit | d808efb407e1a2cf83a8d21411157195f26bdef9 (patch) | |
tree | a939d339288290b10b332dc6890646e68867aa20 /fs/ubifs/debug.h | |
parent | bb2615d4d14777fd37e2b91bd99b92c0354813d1 (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.h | 6 |
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); | |||
247 | int dbg_check_ltab(struct ubifs_info *c); | 247 | int dbg_check_ltab(struct ubifs_info *c); |
248 | int dbg_chk_lpt_free_spc(struct ubifs_info *c); | 248 | int dbg_chk_lpt_free_spc(struct ubifs_info *c); |
249 | int dbg_chk_lpt_sz(struct ubifs_info *c, int action, int len); | 249 | int dbg_chk_lpt_sz(struct ubifs_info *c, int action, int len); |
250 | int dbg_check_synced_i_size(struct inode *inode); | 250 | int dbg_check_synced_i_size(const struct ubifs_info *c, struct inode *inode); |
251 | int dbg_check_dir(struct ubifs_info *c, const struct inode *dir); | 251 | int dbg_check_dir(struct ubifs_info *c, const struct inode *dir); |
252 | int dbg_check_tnc(struct ubifs_info *c, int extra); | 252 | int dbg_check_tnc(struct ubifs_info *c, int extra); |
253 | int dbg_check_idx_size(struct ubifs_info *c, long long idx_size); | 253 | int 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; } | |||
416 | static inline int dbg_chk_lpt_free_spc(struct ubifs_info *c) { return 0; } | 416 | static inline int dbg_chk_lpt_free_spc(struct ubifs_info *c) { return 0; } |
417 | static inline int dbg_chk_lpt_sz(struct ubifs_info *c, | 417 | static inline int dbg_chk_lpt_sz(struct ubifs_info *c, |
418 | int action, int len) { return 0; } | 418 | int action, int len) { return 0; } |
419 | static inline int dbg_check_synced_i_size(struct inode *inode) { return 0; } | 419 | static inline int |
420 | dbg_check_synced_i_size(const struct ubifs_info *c, | ||
421 | struct inode *inode) { return 0; } | ||
420 | static inline int dbg_check_dir(struct ubifs_info *c, | 422 | static inline int dbg_check_dir(struct ubifs_info *c, |
421 | const struct inode *dir) { return 0; } | 423 | const struct inode *dir) { return 0; } |
422 | static inline int dbg_check_tnc(struct ubifs_info *c, int extra) { return 0; } | 424 | static inline int dbg_check_tnc(struct ubifs_info *c, int extra) { return 0; } |