Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346664
b: refs/heads/master
c: 5269b67
h: refs/heads/master
v: v3
  • Loading branch information
Miao Xie authored and Josef Bacik committed Dec 12, 2012
1 parent 62b3240 commit 2ee7b00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: bbe1426764e5dfaa57e7b12cc954acdb3fb7f94b
refs/heads/master: 5269b67e3d809dcaa4c6763a343423bb1b7b3fe6
5 changes: 4 additions & 1 deletion trunk/fs/btrfs/tree-log.c
Original file line number Diff line number Diff line change
Expand Up @@ -3394,7 +3394,10 @@ static int btrfs_log_inode(struct btrfs_trans_handle *trans,


/* today the code can only do partial logging of directories */
if (inode_only == LOG_INODE_EXISTS || S_ISDIR(inode->i_mode))
if (S_ISDIR(inode->i_mode) ||
(!test_bit(BTRFS_INODE_NEEDS_FULL_SYNC,
&BTRFS_I(inode)->runtime_flags) &&
inode_only == LOG_INODE_EXISTS))
max_key.type = BTRFS_XATTR_ITEM_KEY;
else
max_key.type = (u8)-1;
Expand Down

0 comments on commit 2ee7b00

Please sign in to comment.