projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
4018237
)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/hirofumi/fatfs-2.6
author
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 8 Jun 2011 02:04:21 +0000
(19:04 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 8 Jun 2011 02:04:21 +0000
(19:04 -0700)
* git://git.kernel.org/pub/scm/linux/kernel/git/hirofumi/fatfs-2.6:
fat: Fix corrupt inode flags when remove ATTR_SYS flag
fs/fat/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/fat/file.c
b/fs/fat/file.c
index 7257752b6d5d3f0c8c133597135cb2f92821f784..7018e1d8902dee6c4b38f7247a38e9315cba27f5 100644
(file)
--- 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);
This page took
0.027273 seconds
and
5
git commands to generate.