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/dir.c | |
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/dir.c')
-rw-r--r-- | fs/ubifs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c index d1725a9914ac..98014bf1d8b4 100644 --- a/fs/ubifs/dir.c +++ b/fs/ubifs/dir.c | |||
@@ -524,7 +524,7 @@ static int ubifs_link(struct dentry *old_dentry, struct inode *dir, | |||
524 | ubifs_assert(mutex_is_locked(&dir->i_mutex)); | 524 | ubifs_assert(mutex_is_locked(&dir->i_mutex)); |
525 | ubifs_assert(mutex_is_locked(&inode->i_mutex)); | 525 | ubifs_assert(mutex_is_locked(&inode->i_mutex)); |
526 | 526 | ||
527 | err = dbg_check_synced_i_size(inode); | 527 | err = dbg_check_synced_i_size(c, inode); |
528 | if (err) | 528 | if (err) |
529 | return err; | 529 | return err; |
530 | 530 | ||
@@ -579,7 +579,7 @@ static int ubifs_unlink(struct inode *dir, struct dentry *dentry) | |||
579 | inode->i_nlink, dir->i_ino); | 579 | inode->i_nlink, dir->i_ino); |
580 | ubifs_assert(mutex_is_locked(&dir->i_mutex)); | 580 | ubifs_assert(mutex_is_locked(&dir->i_mutex)); |
581 | ubifs_assert(mutex_is_locked(&inode->i_mutex)); | 581 | ubifs_assert(mutex_is_locked(&inode->i_mutex)); |
582 | err = dbg_check_synced_i_size(inode); | 582 | err = dbg_check_synced_i_size(c, inode); |
583 | if (err) | 583 | if (err) |
584 | return err; | 584 | return err; |
585 | 585 | ||