SOURCES (LINUX_2_6_20): linux-2.6-vs2.3.patch - fix for fs/ext2/io...
mguevara
mguevara at pld-linux.org
Tue Jan 16 12:00:19 CET 2007
Author: mguevara Date: Tue Jan 16 11:00:19 2007 GMT
Module: SOURCES Tag: LINUX_2_6_20
---- Log message:
- fix for fs/ext2/ioctl.c
---- Files affected:
SOURCES:
linux-2.6-vs2.3.patch (1.2.2.8 -> 1.2.2.9)
---- Diffs:
================================================================
Index: SOURCES/linux-2.6-vs2.3.patch
diff -u SOURCES/linux-2.6-vs2.3.patch:1.2.2.8 SOURCES/linux-2.6-vs2.3.patch:1.2.2.9
--- SOURCES/linux-2.6-vs2.3.patch:1.2.2.8 Tue Jan 16 11:44:25 2007
+++ SOURCES/linux-2.6-vs2.3.patch Tue Jan 16 12:00:14 2007
@@ -4265,9 +4265,9 @@
+ if ((oldflags & EXT2_IMMUTABLE_FL) ||
+ ((flags ^ oldflags) & (EXT2_APPEND_FL |
+ EXT2_IMMUTABLE_FL | EXT2_IUNLINK_FL))) {
- if (!capable(CAP_LINUX_IMMUTABLE))
+ if (!capable(CAP_LINUX_IMMUTABLE)) {
+ mutex_unlock(&inode->i_mutex);
return -EPERM;
- }
@@ -71,7 +75,8 @@ int ext2_ioctl (struct inode * inode, st
case EXT2_IOC_SETVERSION:
if ((current->fsuid != inode->i_uid) && !capable(CAP_FOWNER))
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/linux-2.6-vs2.3.patch?r1=1.2.2.8&r2=1.2.2.9&f=u
More information about the pld-cvs-commit
mailing list