SOURCES (LINUX_2_6): kernel-aufs.patch - partial fix
arekm
arekm at pld-linux.org
Sun Mar 29 13:52:48 CEST 2009
Author: arekm Date: Sun Mar 29 11:52:48 2009 GMT
Module: SOURCES Tag: LINUX_2_6
---- Log message:
- partial fix
---- Files affected:
SOURCES:
kernel-aufs.patch (1.1 -> 1.1.2.1)
---- Diffs:
================================================================
Index: SOURCES/kernel-aufs.patch
diff -u SOURCES/kernel-aufs.patch:1.1 SOURCES/kernel-aufs.patch:1.1.2.1
--- SOURCES/kernel-aufs.patch:1.1 Fri Mar 13 00:08:15 2009
+++ SOURCES/kernel-aufs.patch Sun Mar 29 13:52:43 2009
@@ -7511,7 +7511,7 @@
+ if (nsi_lock)
+ si_read_unlock(parent->d_sb);
+ path_get(path);
-+ file = dentry_open(parent, path->mnt, au_dir_roflags);
++ file = dentry_open(parent, path->mnt, au_dir_roflags, current_cred());
+ dentry = (void *)file;
+ if (IS_ERR(file))
+ goto out;
@@ -8056,7 +8056,7 @@
+ if (file && au_test_nfs(h_dentry->d_sb))
+ h_file = au_h_intent(dentry, bindex, file);
+ if (!h_file)
-+ h_file = dentry_open(dget(h_dentry), mntget(br->br_mnt), flags);
++ h_file = dentry_open(dget(h_dentry), mntget(br->br_mnt), flags, current_cred());
+
+ /*
+ * a dirty trick for handling FMODE_EXEC and deny_write_access().
@@ -28491,7 +28491,7 @@
+ goto out_dput;
+ }
+ file = dentry_open(dget(dentry), mntget(base_file->f_vfsmnt),
-+ O_RDWR | O_CREAT | O_EXCL | O_LARGEFILE);
++ O_RDWR | O_CREAT | O_EXCL | O_LARGEFILE, current_cred());
+ if (IS_ERR(file)) {
+ AuErr("%.*s open err %ld\n", AuLNPair(name), PTR_ERR(file));
+ goto out_dput;
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/kernel-aufs.patch?r1=1.1&r2=1.1.2.1&f=u
More information about the pld-cvs-commit
mailing list