diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-07-18 17:54:29 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-08-13 10:20:07 +0200 |
commit | 7d32c2bb143fa1ca3b0c420feb08a832d65395be (patch) | |
tree | 2929bc914c8e70b2e14d451fa70c1c4273c24ac9 /fs/ubifs/file.c | |
parent | UBIFS: fix budgeting calculations (diff) | |
download | linux-7d32c2bb143fa1ca3b0c420feb08a832d65395be.tar.xz linux-7d32c2bb143fa1ca3b0c420feb08a832d65395be.zip |
UBIFS: improve debugging
1. Print inode mode in some of debugging messages
2. Add few more useful assertions
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/file.c')
-rw-r--r-- | fs/ubifs/file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ubifs/file.c b/fs/ubifs/file.c index 8565e586e533..01598f28020b 100644 --- a/fs/ubifs/file.c +++ b/fs/ubifs/file.c @@ -941,7 +941,8 @@ int ubifs_setattr(struct dentry *dentry, struct iattr *attr) struct inode *inode = dentry->d_inode; struct ubifs_info *c = inode->i_sb->s_fs_info; - dbg_gen("ino %lu, ia_valid %#x", inode->i_ino, attr->ia_valid); + dbg_gen("ino %lu, mode %#x, ia_valid %#x", + inode->i_ino, inode->i_mode, attr->ia_valid); err = inode_change_ok(inode, attr); if (err) return err; |