Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108532
b: refs/heads/master
c: 7d32c2b
h: refs/heads/master
v: v3
  • Loading branch information
Artem Bityutskiy authored and Artem Bityutskiy committed Aug 13, 2008
1 parent e766140 commit 6b6ff88
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 182854b46f9feb6f1b03abe747bb2beeebf2adb0
refs/heads/master: 7d32c2bb143fa1ca3b0c420feb08a832d65395be
3 changes: 2 additions & 1 deletion trunk/fs/ubifs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 4 additions & 2 deletions trunk/fs/ubifs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ static int ubifs_write_inode(struct inode *inode, int wait)
return 0;
}

dbg_gen("inode %lu", inode->i_ino);
dbg_gen("inode %lu, mode %#x", inode->i_ino, (int)inode->i_mode);
err = ubifs_jnl_write_inode(c, inode, 0);
if (err)
ubifs_err("can't write inode %lu, error %d", inode->i_ino, err);
Expand All @@ -323,9 +323,10 @@ static void ubifs_delete_inode(struct inode *inode)
*/
goto out;

dbg_gen("inode %lu", inode->i_ino);
dbg_gen("inode %lu, mode %#x", inode->i_ino, (int)inode->i_mode);
ubifs_assert(!atomic_read(&inode->i_count));
ubifs_assert(inode->i_nlink == 0);
ubifs_assert(!ubifs_inode(inode)->dirty);

truncate_inode_pages(&inode->i_data, 0);
if (is_bad_inode(inode))
Expand Down Expand Up @@ -1469,6 +1470,7 @@ static void ubifs_put_super(struct super_block *sb)
*/
ubifs_assert(atomic_long_read(&c->dirty_pg_cnt) == 0);
ubifs_assert(c->budg_idx_growth == 0);
ubifs_assert(c->budg_dd_growth == 0);
ubifs_assert(c->budg_data_growth == 0);

/*
Expand Down

0 comments on commit 6b6ff88

Please sign in to comment.