xfs
[Top] [All Lists]

Re: [PATCH] xfs: fix small mismerge in xfs_vn_mknod

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [PATCH] xfs: fix small mismerge in xfs_vn_mknod
From: Felix Blyakher <felixb@xxxxxxx>
Date: Fri, 12 Jun 2009 10:58:32 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20090612151911.GA9832@xxxxxxxxxxxxx>
References: <20090612151911.GA9832@xxxxxxxxxxxxx>

On Jun 12, 2009, at 10:19 AM, Christoph Hellwig wrote:

Identation got messed up when merging the current_umask changes with
the generic ACL support.


Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Reviewed-by: Felix Blyakher <felixb@xxxxxxx>



Index: xfs/fs/xfs/linux-2.6/xfs_iops.c
===================================================================
--- xfs.orig/fs/xfs/linux-2.6/xfs_iops.c 2009-06-12 17:16:26.902939418 +0200 +++ xfs/fs/xfs/linux-2.6/xfs_iops.c 2009-06-12 17:16:48.611940327 +0200
@@ -225,8 +225,8 @@ xfs_vn_mknod(
                if (IS_ERR(default_acl))
                        return -PTR_ERR(default_acl);

-       if (!default_acl)
-               mode &= ~current_umask();
+               if (!default_acl)
+                       mode &= ~current_umask();
        }

        xfs_dentry_to_name(&name, dentry);

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs

<Prev in Thread] Current Thread [Next in Thread>