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>
This commit is contained in:
Mateusz Guzik
2025-11-04 18:04:48 +01:00
committed by Christian Brauner
parent 723cd9872d
commit 5b8ed52866
17 changed files with 20 additions and 8 deletions

View File

@@ -9,6 +9,7 @@
#include "hpfs_fn.h"
#include <linux/module.h>
#include <linux/fs_struct.h>
#include <linux/fs_context.h>
#include <linux/fs_parser.h>
#include <linux/init.h>