New helper - current_umask()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 29 Mar 2009 23:08:22 +0000 (19:08 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 1 Apr 2009 03:00:26 +0000 (23:00 -0400)
commitce3b0f8d5c2203301fc87f3aaaed73e5819e2a48
treeab952affafe18e604f6aaf6b13315b9435588e60
parentf1191b50ec11c8e2ca766d6d99eb5bb9d2c084a3
New helper - current_umask()

current->fs->umask is what most of fs_struct users are doing.
Put that into a helper function.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
26 files changed:
arch/powerpc/platforms/cell/spufs/inode.c
fs/btrfs/acl.c
fs/btrfs/ioctl.c
fs/cifs/dir.c
fs/cifs/inode.c
fs/ext2/acl.c
fs/ext3/acl.c
fs/ext4/acl.c
fs/fat/inode.c
fs/fs_struct.c
fs/generic_acl.c
fs/gfs2/acl.c
fs/hfsplus/options.c
fs/hpfs/super.c
fs/jffs2/acl.c
fs/jfs/acl.c
fs/namei.c
fs/nfs/nfs3proc.c
fs/nfs/nfs4proc.c
fs/ocfs2/acl.c
fs/omfs/inode.c
fs/reiserfs/xattr_acl.c
fs/xfs/linux-2.6/xfs_iops.c
include/linux/fs.h
ipc/mqueue.c
net/unix/af_unix.c