aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/debug.c
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.c
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.c')
-rw-r--r--fs/ubifs/debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c
index 26d4c6173181..7adf9fe91817 100644
--- a/fs/ubifs/debug.c
+++ b/fs/ubifs/debug.c
@@ -1132,6 +1132,7 @@ out:
1132 1132
1133/** 1133/**
1134 * dbg_check_synced_i_size - check synchronized inode size. 1134 * dbg_check_synced_i_size - check synchronized inode size.
1135 * @c: UBIFS file-system description object
1135 * @inode: inode to check 1136 * @inode: inode to check
1136 * 1137 *
1137 * If inode is clean, synchronized inode size has to be equivalent to current 1138 * If inode is clean, synchronized inode size has to be equivalent to current
@@ -1139,7 +1140,7 @@ out:
1139 * has to be locked). Returns %0 if synchronized inode size if correct, and 1140 * has to be locked). Returns %0 if synchronized inode size if correct, and
1140 * %-EINVAL if not. 1141 * %-EINVAL if not.
1141 */ 1142 */
1142int dbg_check_synced_i_size(struct inode *inode) 1143int dbg_check_synced_i_size(const struct ubifs_info *c, struct inode *inode)
1143{ 1144{
1144 int err = 0; 1145 int err = 0;
1145 struct ubifs_inode *ui = ubifs_inode(inode); 1146 struct ubifs_inode *ui = ubifs_inode(inode);