mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
d_path: Make seq_path() use a struct path argument
seq_path() is always called with a dentry and a vfsmount from a struct path. Make seq_path() take it directly as an argument. Signed-off-by: Jan Blunck <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Al Viro <[email protected]> Cc: "J. Bruce Fields" <[email protected]> Cc: Neil Brown <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
e83aece3af
commit
c32c2f63a9
9 changed files with 16 additions and 17 deletions
|
|
@ -5197,8 +5197,7 @@ static int md_seq_show(struct seq_file *seq, void *v)
|
|||
chunk_kb ? "KB" : "B");
|
||||
if (bitmap->file) {
|
||||
seq_printf(seq, ", file: ");
|
||||
seq_path(seq, bitmap->file->f_path.mnt,
|
||||
bitmap->file->f_path.dentry," \t\n");
|
||||
seq_path(seq, &bitmap->file->f_path, " \t\n");
|
||||
}
|
||||
|
||||
seq_printf(seq, "\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue