瀏覽代碼

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 年之前
父節點
當前提交
e83f1eb6bf
共有 1 個文件被更改,包括 2 次插入2 次删除
  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))
 			return -PTR_ERR(default_acl);
 
-	if (!default_acl)
-		mode &= ~current_umask();
+		if (!default_acl)
+			mode &= ~current_umask();
 	}
 
 	xfs_dentry_to_name(&name, dentry);