diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2015-06-19 04:30:28 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-06-23 18:01:07 -0400 |
commit | 2726d56620ce71f40dd583d51391b86e1ab8cc57 (patch) | |
tree | 5fad19a48f9eb60de9e407e0b0baa24bb72e7dbb /drivers/md/bitmap.c | |
parent | 9bf39ab2adafd7cf8740859cb49e7b7952813a5d (diff) |
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 'drivers/md/bitmap.c')
-rw-r--r-- | drivers/md/bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c index dda33d648354..3813fdfee4be 100644 --- a/drivers/md/bitmap.c +++ b/drivers/md/bitmap.c | |||
@@ -1922,7 +1922,7 @@ void bitmap_status(struct seq_file *seq, struct bitmap *bitmap) | |||
1922 | chunk_kb ? "KB" : "B"); | 1922 | chunk_kb ? "KB" : "B"); |
1923 | if (bitmap->storage.file) { | 1923 | if (bitmap->storage.file) { |
1924 | seq_printf(seq, ", file: "); | 1924 | seq_printf(seq, ", file: "); |
1925 | seq_path(seq, &bitmap->storage.file->f_path, " \t\n"); | 1925 | seq_file_path(seq, bitmap->storage.file, " \t\n"); |
1926 | } | 1926 | } |
1927 | 1927 | ||
1928 | seq_printf(seq, "\n"); | 1928 | seq_printf(seq, "\n"); |