diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2015-06-19 10:30:28 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-06-23 18:01:07 -0400 |
commit | 2726d56620ce71f40dd583d51391b86e1ab8cc57 (patch) | |
tree | 5fad19a48f9eb60de9e407e0b0baa24bb72e7dbb /fs/proc/task_nommu.c | |
parent | 9bf39ab2adafd7cf8740859cb49e7b7952813a5d (diff) | |
download | op-kernel-dev-2726d56620ce71f40dd583d51391b86e1ab8cc57.zip op-kernel-dev-2726d56620ce71f40dd583d51391b86e1ab8cc57.tar.gz |
vfs: add seq_file_path() helper
Turn
seq_path(..., &file->f_path, ...);
into
seq_file_path(..., file, ...);
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/task_nommu.c')
-rw-r--r-- | fs/proc/task_nommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/task_nommu.c b/fs/proc/task_nommu.c index 599ec2e..e0d64c9 100644 --- a/fs/proc/task_nommu.c +++ b/fs/proc/task_nommu.c @@ -180,7 +180,7 @@ static int nommu_vma_show(struct seq_file *m, struct vm_area_struct *vma, if (file) { seq_pad(m, ' '); - seq_path(m, &file->f_path, ""); + seq_file_path(m, file, ""); } else if (mm) { pid_t tid = pid_of_stack(priv, vma, is_pid); |