Skip to content

Commit

Permalink
xfs: fix small mismerge in xfs_vn_mknod
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig authored and Felix Blyakher committed Jun 13, 2009
1 parent 493b87e commit e83f1eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/xfs/linux-2.6/xfs_iops.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e83f1eb

Please sign in to comment.