]> Gentwo Git Trees - linux/.git/commit
fs: inline current_umask() and move it to fs_struct.h
authorMateusz Guzik <mjguzik@gmail.com>
Tue, 4 Nov 2025 17:04:48 +0000 (18:04 +0100)
committerChristian Brauner <brauner@kernel.org>
Wed, 5 Nov 2025 21:51:23 +0000 (22:51 +0100)
commit5b8ed52866e3d19e02860c7cf1d6bbbd70b619e9
tree9a84ee5bfa147f30e08d6e1f3e6be309da05334d
parent723cd9872dc1335639eb99422b1722697552a09a
fs: inline current_umask() and move it to fs_struct.h

There is no good reason to have this as a func call, other than avoiding
the churn of adding fs_struct.h as needed.

Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://patch.msgid.link/20251104170448.630414-1-mjguzik@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
17 files changed:
fs/9p/acl.c
fs/btrfs/inode.c
fs/f2fs/acl.c
fs/fat/inode.c
fs/fs_struct.c
fs/hfsplus/options.c
fs/hpfs/super.c
fs/nilfs2/nilfs.h
fs/ntfs3/super.c
fs/ocfs2/acl.c
fs/omfs/inode.c
fs/smb/client/file.c
fs/smb/client/inode.c
fs/smb/client/smb1ops.c
include/linux/fs.h
include/linux/fs_struct.h
include/linux/namei.h