diff options
author | Jan Blunck <jblunck@suse.de> | 2008-02-14 22:38:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-15 00:17:08 -0500 |
commit | c32c2f63a9d6c953aaf168c0b2551da9734f76d2 (patch) | |
tree | 14eca3083f3de4a87a95359ab66109c10add1ae7 /fs/nfsd/export.c | |
parent | e83aece3afad4d56cc01abe069d3519e851cd2de (diff) |
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 <jblunck@suse.de>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nfsd/export.c')
-rw-r--r-- | fs/nfsd/export.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c index b59f8590af47..4a85b40eef4f 100644 --- a/fs/nfsd/export.c +++ b/fs/nfsd/export.c | |||
@@ -203,7 +203,7 @@ static int expkey_show(struct seq_file *m, | |||
203 | if (test_bit(CACHE_VALID, &h->flags) && | 203 | if (test_bit(CACHE_VALID, &h->flags) && |
204 | !test_bit(CACHE_NEGATIVE, &h->flags)) { | 204 | !test_bit(CACHE_NEGATIVE, &h->flags)) { |
205 | seq_printf(m, " "); | 205 | seq_printf(m, " "); |
206 | seq_path(m, ek->ek_path.mnt, ek->ek_path.dentry, "\\ \t\n"); | 206 | seq_path(m, &ek->ek_path, "\\ \t\n"); |
207 | } | 207 | } |
208 | seq_printf(m, "\n"); | 208 | seq_printf(m, "\n"); |
209 | return 0; | 209 | return 0; |
@@ -649,7 +649,7 @@ static int svc_export_show(struct seq_file *m, | |||
649 | return 0; | 649 | return 0; |
650 | } | 650 | } |
651 | exp = container_of(h, struct svc_export, h); | 651 | exp = container_of(h, struct svc_export, h); |
652 | seq_path(m, exp->ex_path.mnt, exp->ex_path.dentry, " \t\n\\"); | 652 | seq_path(m, &exp->ex_path, " \t\n\\"); |
653 | seq_putc(m, '\t'); | 653 | seq_putc(m, '\t'); |
654 | seq_escape(m, exp->ex_client->name, " \t\n\\"); | 654 | seq_escape(m, exp->ex_client->name, " \t\n\\"); |
655 | seq_putc(m, '('); | 655 | seq_putc(m, '('); |