Commit 9c125d2a authored by Linus Torvalds's avatar Linus Torvalds
Browse files
parents 40182373 1adffbae
......@@ -102,7 +102,7 @@ static int fat_ioctl_set_attributes(struct file *file, u32 __user *user_attr)
if (attr & ATTR_SYS)
inode->i_flags |= S_IMMUTABLE;
else
inode->i_flags &= S_IMMUTABLE;
inode->i_flags &= ~S_IMMUTABLE;
}
fat_save_attrs(inode, attr);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment