commit 2d93e5e233afed37bdecb364cade6258290a308d
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Thu Nov 29 03:09:57 2007 -0500
Unionfs ODF: set the gid of /odf/ns to 0 on initial creation
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
diff --git a/fs/unionfs/odf.c b/fs/unionfs/odf.c
index bd09433..0ad2ba5 100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -55,7 +55,11 @@ int __odf_create_hierarchy(struct dentry *odf_root)
err = PTR_ERR(dentry);
goto out;
}
+ /* reset the /odf/ns's GID to 0 */
+ err = odf_set_opaque(dentry, -1);
dput(dentry);
+ if (err)
+ goto out;
dentry = __odf_create_dir(odf_root, ODF_IC);
if (IS_ERR(dentry)) {
err = PTR_ERR(dentry);
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs