diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-06-07 19:04:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-06-07 19:04:21 -0700 |
commit | 9c125d2af8f4d06ea62a4d8ff100af392a0a3a3b (patch) | |
tree | a8ba80d7d5c9385d4b8624a9cee9b9cebc5f1382 /fs | |
parent | 40182373ac6cbbd10c6d08ba339947eea009d513 (diff) | |
parent | 1adffbae22332bb558c2a29de19d9aca391869f6 (diff) | |
download | op-kernel-dev-9c125d2af8f4d06ea62a4d8ff100af392a0a3a3b.zip op-kernel-dev-9c125d2af8f4d06ea62a4d8ff100af392a0a3a3b.tar.gz |
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
Diffstat (limited to 'fs')
-rw-r--r-- | fs/fat/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fat/file.c b/fs/fat/file.c index 7257752..7018e1d 100644 --- a/fs/fat/file.c +++ b/fs/fat/file.c @@ -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); |