This is a note to let you know that I've just added the patch titled
fat: Fix corrupt inode flags when remove ATTR_SYS flag
to the 2.6.33-longterm tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/longterm/longterm-queue-2.6.33.git;a=summary
The filename of the patch is:
fat-fix-corrupt-inode-flags-when-remove-attr_sys-flag.patch
and it can be found in the queue-2.6.33 subdirectory.
If you, or anyone else, feels it should not be added to the 2.6.33 longterm
tree,
please let <[email protected]> know about it.
>From 1adffbae22332bb558c2a29de19d9aca391869f6 Mon Sep 17 00:00:00 2001
From: OGAWA Hirofumi <[email protected]>
Date: Tue, 31 May 2011 19:38:07 +0900
Subject: fat: Fix corrupt inode flags when remove ATTR_SYS flag
From: OGAWA Hirofumi <[email protected]>
commit 1adffbae22332bb558c2a29de19d9aca391869f6 upstream.
We are clearly missing '~' in fat_ioctl_set_attributes().
Reported-by: Dmitry Dmitriev <[email protected]>
Signed-off-by: OGAWA Hirofumi <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
fs/fat/file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/fs/fat/file.c
+++ b/fs/fat/file.c
@@ -101,7 +101,7 @@ static int fat_ioctl_set_attributes(stru
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);
Patches currently in longterm-queue-2.6.33 which might be from
[email protected] are
/home/gregkh/linux/longterm/longterm-queue-2.6.33/queue-2.6.33/fat-fix-corrupt-inode-flags-when-remove-attr_sys-flag.patch
_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable