fs/btrfs: use inode_set_flags() instead of set_mask_bits()
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 fs/btrfs: use inode_set_flags() instead of set_mask_bits()
Use inode_set_flags() instead of set_mask_bits() according to commit 5f16f3225b062 ("ext4: atomically set inode->i_flags in ext4_set_inode_flags()").
--- fs/btrfs/ioctl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
fs/btrfs/ioctl.c +2 -3
@@ -149,9 +149,8 @@ void btrfs_update_iflags(struct inode *inode)if (ip->flags &BTRFS_INODE_DIRSYNC ) new_fl |=S_DIRSYNC ; -set_mask_bits (&inode->i_flags, -S_SYNC |S_APPEND |S_IMMUTABLE |S_NOATIME |S_DIRSYNC , - new_fl); +inode_set_flags (inode, new_fl, +S_SYNC |S_APPEND |S_IMMUTABLE |S_NOATIME |S_DIRSYNC ); }/*
Signature · 4 lines
1.9.1 .
PATCH 1/1 fs/btrfs: use inode_set_flags() instead of set_mask_bits()
In reply to a message not in the archiveUse inode_set_flags() instead of set_mask_bits() according to commit 5f16f3225b062 ("ext4: atomically set inode->i_flags in ext4_set_inode_flags()").
--- fs/btrfs/ioctl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
fs/btrfs/ioctl.c +2 -3
@@ -149,9 +149,8 @@ void btrfs_update_iflags(struct inode *inode)if (ip->flags &BTRFS_INODE_DIRSYNC ) new_fl |=S_DIRSYNC ; -set_mask_bits (&inode->i_flags, -S_SYNC |S_APPEND |S_IMMUTABLE |S_NOATIME |S_DIRSYNC , - new_fl); +inode_set_flags (inode, new_fl, +S_SYNC |S_APPEND |S_IMMUTABLE |S_NOATIME |S_DIRSYNC ); }/*
Signature · 4 lines
1.9.1 .
PATCH 1/1 fs/btrfs: use general inode_set_flags() instead of set_mask_bits()
Use general inode_set_flags() instead of set_mask_bits() according to commit 5f16f3225b062 ("ext4: atomically set inode->i_flags in ext4_set_inode_flags()").
--- fs/btrfs/ioctl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
fs/btrfs/ioctl.c +2 -3
@@ -149,9 +149,8 @@ void btrfs_update_iflags(struct inode *inode)if (ip->flags &BTRFS_INODE_DIRSYNC ) new_fl |=S_DIRSYNC ; -set_mask_bits (&inode->i_flags, -S_SYNC |S_APPEND |S_IMMUTABLE |S_NOATIME |S_DIRSYNC , - new_fl); +inode_set_flags (inode, new_fl, +S_SYNC |S_APPEND |S_IMMUTABLE |S_NOATIME |S_DIRSYNC ); }/*
Signature · 4 lines
1.9.1 .