diff options
| author | Mark Brown <broonie@kernel.org> | 2026-07-26 21:03:00 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-26 21:03:00 +0100 |
| commit | 9162650d34ab9dfe48f73cd255c41a6084669df3 (patch) | |
| tree | 75578b321f8e890195a7238c296c13498cac58e2 /fs/proc | |
| parent | 4834b6805ec130608e7416797f779a76d6a11fd7 (diff) | |
| parent | ce76d9d4f5f36501013bd94bb65dd067f04b2913 (diff) | |
| download | linux-next-9162650d34ab9dfe48f73cd255c41a6084669df3.tar.gz linux-next-9162650d34ab9dfe48f73cd255c41a6084669df3.zip | |
next-20260723/vfs-brauner
Diffstat (limited to 'fs/proc')
| -rw-r--r-- | fs/proc/array.c | 4 | ||||
| -rw-r--r-- | fs/proc/base.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c index 479ea8cb4ef4..f6f75d206762 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c @@ -168,8 +168,8 @@ static inline void task_state(struct seq_file *m, struct pid_namespace *ns, cred = get_task_cred(p); task_lock(p); - if (p->fs) - umask = p->fs->umask; + if (p->real_fs) + umask = p->real_fs->umask; if (p->files) max_fds = files_fdtable(p->files)->max_fds; task_unlock(p); diff --git a/fs/proc/base.c b/fs/proc/base.c index 780f81259052..6a39de424f62 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -211,8 +211,8 @@ static int get_task_root(struct task_struct *task, struct path *root) int result = -ENOENT; task_lock(task); - if (task->fs) { - get_fs_root(task->fs, root); + if (task->real_fs) { + get_fs_root(task->real_fs, root); result = 0; } task_unlock(task); @@ -225,8 +225,8 @@ static int proc_cwd_link(struct dentry *dentry, struct path *path, int result = -ENOENT; task_lock(task); - if (task->fs) { - get_fs_pwd(task->fs, path); + if (task->real_fs) { + get_fs_pwd(task->real_fs, path); result = 0; } task_unlock(task); |
