diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-02 19:45:47 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-02 19:45:47 -0400 |
commit | 84695ffee7987ee1e581be4c4696e47e1a29403b (patch) | |
tree | 78ca09a96ecd6a6b5f4fae744c381968635af68d /fs/btrfs/tree-log.c | |
parent | bf16200689118d19de1b8d2a3c314fc21f5dc7bb (diff) | |
parent | ce23e640133484eebc20ca7b7668388213e11327 (diff) |
Merge getxattr prototype change into work.lookups
The rest of work.xattr stuff isn't needed for this branch
Diffstat (limited to 'fs/btrfs/tree-log.c')
-rw-r--r-- | fs/btrfs/tree-log.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index 517d0ccb351e..e692eea87af6 100644 --- a/fs/btrfs/tree-log.c +++ b/fs/btrfs/tree-log.c | |||
@@ -4988,7 +4988,7 @@ static noinline int check_parent_dirs_for_sync(struct btrfs_trans_handle *trans, | |||
4988 | goto out; | 4988 | goto out; |
4989 | 4989 | ||
4990 | if (!S_ISDIR(inode->i_mode)) { | 4990 | if (!S_ISDIR(inode->i_mode)) { |
4991 | if (!parent || d_really_is_negative(parent) || sb != d_inode(parent)->i_sb) | 4991 | if (!parent || d_really_is_negative(parent) || sb != parent->d_sb) |
4992 | goto out; | 4992 | goto out; |
4993 | inode = d_inode(parent); | 4993 | inode = d_inode(parent); |
4994 | } | 4994 | } |
@@ -5009,7 +5009,7 @@ static noinline int check_parent_dirs_for_sync(struct btrfs_trans_handle *trans, | |||
5009 | break; | 5009 | break; |
5010 | } | 5010 | } |
5011 | 5011 | ||
5012 | if (!parent || d_really_is_negative(parent) || sb != d_inode(parent)->i_sb) | 5012 | if (!parent || d_really_is_negative(parent) || sb != parent->d_sb) |
5013 | break; | 5013 | break; |
5014 | 5014 | ||
5015 | if (IS_ROOT(parent)) | 5015 | if (IS_ROOT(parent)) |
@@ -5422,7 +5422,7 @@ static int btrfs_log_inode_parent(struct btrfs_trans_handle *trans, | |||
5422 | } | 5422 | } |
5423 | 5423 | ||
5424 | while (1) { | 5424 | while (1) { |
5425 | if (!parent || d_really_is_negative(parent) || sb != d_inode(parent)->i_sb) | 5425 | if (!parent || d_really_is_negative(parent) || sb != parent->d_sb) |
5426 | break; | 5426 | break; |
5427 | 5427 | ||
5428 | inode = d_inode(parent); | 5428 | inode = d_inode(parent); |