mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-24 09:13:20 -05:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/hirofumi/fatfs-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/hirofumi/fatfs-2.6: fat: Fix corrupt inode flags when remove ATTR_SYS flag
This commit is contained in:
commit
9c125d2af8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue