Browse Source

xfs: fix small mismerge in xfs_vn_mknod

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

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Felix Blyakher <felixb@sgi.com>
Signed-off-by: Felix Blyakher <felixb@sgi.com>
Christoph Hellwig 16 years ago
parent
commit
e83f1eb6bf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      fs/xfs/linux-2.6/xfs_iops.c

+ 2 - 2
fs/xfs/linux-2.6/xfs_iops.c

@@ -225,8 +225,8 @@ xfs_vn_mknod(
 		if (IS_ERR(default_acl))
 		if (IS_ERR(default_acl))
 			return -PTR_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_dentry_to_name(&name, dentry);