summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-03-26 18:40:21 +0200
committerDavid Sterba <dsterba@suse.com>2018-05-28 18:23:20 +0200
commit7b6a221e5b21fdd4fd0f8a2ebf3f251338a10fea (patch)
tree9a94780169014357bc9a27fedebd5182198e98f6 /fs/btrfs/inode.c
parentd9a071f0086d22a6bdb57dc5ecbbf65fa20b6e22 (diff)
downloadlwn-7b6a221e5b21fdd4fd0f8a2ebf3f251338a10fea.tar.gz
lwn-7b6a221e5b21fdd4fd0f8a2ebf3f251338a10fea.zip
btrfs: rename btrfs_update_iflags to reflect which flags it touches
The btrfs inode flag flavour is now simply called 'inode flags' and the vfs inode are i_flags. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 766bd286869d..cbcda4e296f8 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -3929,7 +3929,7 @@ cache_acl:
break;
}
- btrfs_update_iflags(inode);
+ btrfs_sync_inode_flags_to_i_flags(inode);
return 0;
make_bad:
@@ -6458,7 +6458,7 @@ static void btrfs_inherit_iflags(struct inode *inode, struct inode *dir)
BTRFS_I(inode)->flags |= BTRFS_INODE_NODATASUM;
}
- btrfs_update_iflags(inode);
+ btrfs_sync_inode_flags_to_i_flags(inode);
}
static struct inode *btrfs_new_inode(struct btrfs_trans_handle *trans,