Loading fs/gfs2/acl.c +4 −1 Original line number Diff line number Diff line Loading @@ -78,8 +78,11 @@ int gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type) if (type == ACL_TYPE_ACCESS) { umode_t mode = inode->i_mode; struct posix_acl *old_acl = acl; error = posix_acl_update_mode(inode, &inode->i_mode, &acl); if (!acl) posix_acl_release(old_acl); if (error) return error; if (mode != inode->i_mode) Loading fs/xfs/xfs_acl.c +3 −1 Original line number Diff line number Diff line Loading @@ -287,8 +287,10 @@ xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type) if (type == ACL_TYPE_ACCESS) { umode_t mode; struct posix_acl *old_acl = acl; error = posix_acl_update_mode(inode, &mode, &acl); if (!acl) posix_acl_release(old_acl); if (error) return error; error = xfs_set_mode(inode, mode); Loading Loading
fs/gfs2/acl.c +4 −1 Original line number Diff line number Diff line Loading @@ -78,8 +78,11 @@ int gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type) if (type == ACL_TYPE_ACCESS) { umode_t mode = inode->i_mode; struct posix_acl *old_acl = acl; error = posix_acl_update_mode(inode, &inode->i_mode, &acl); if (!acl) posix_acl_release(old_acl); if (error) return error; if (mode != inode->i_mode) Loading
fs/xfs/xfs_acl.c +3 −1 Original line number Diff line number Diff line Loading @@ -287,8 +287,10 @@ xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type) if (type == ACL_TYPE_ACCESS) { umode_t mode; struct posix_acl *old_acl = acl; error = posix_acl_update_mode(inode, &mode, &acl); if (!acl) posix_acl_release(old_acl); if (error) return error; error = xfs_set_mode(inode, mode); Loading