hi,

please fix these typos in "inode.c":

--- inode.c.org 2005-11-05 13:11:45.183261000 +0100
+++ inode.c     2005-11-05 13:12:11.468903750 +0100
@@ -826,7 +826,7 @@

/* Basically copied from the kernel vfs permission(), but we've changed
 * the following: (1) the IS_RDONLY check is skipped, and (2) if you define
- * -DNFS_SECURITY_HOLE, we assume that -EACCESS means that the export is
+ * -DNFS_SECURITY_HOLE, we assume that -EACCES means that the export is
 * read-only and we should check standard Unix permissions.  This means
* that NFS ACL checks (or other advanced permission features) are bypassed.
 */
@@ -855,8 +855,8 @@
       if (inode->i_op && inode->i_op->permission) {
               retval = inode->i_op->permission(inode, submask, nd);
#ifdef NFS_SECURITY_HOLE
-#define IS_NFS(inode) (strcmp("nfs", (inode)->i_sb->s_type->s_name))
-               if ((retval == -EACCESS) && (submask & MAY_WRITE) &&
+#define IS_NFS(inode) (strcmp("nfs", (inode)->i_sb->s_type->name))
+               if ((retval == -EACCES) && (submask & MAY_WRITE) &&
                   IS_NFS(inode)) {
                       retval = generic_permission(inode, submask, NULL);
               }

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement

_______________________________________________
unionfs mailing list
unionfs@mail.fsl.cs.sunysb.edu
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to