mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00: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 <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>
This commit is contained in:
parent
e83aece3af
commit
c32c2f63a9
9 changed files with 16 additions and 17 deletions
|
@ -8,8 +8,7 @@
|
|||
|
||||
struct seq_operations;
|
||||
struct file;
|
||||
struct vfsmount;
|
||||
struct dentry;
|
||||
struct path;
|
||||
struct inode;
|
||||
|
||||
struct seq_file {
|
||||
|
@ -42,7 +41,7 @@ int seq_puts(struct seq_file *m, const char *s);
|
|||
int seq_printf(struct seq_file *, const char *, ...)
|
||||
__attribute__ ((format (printf,2,3)));
|
||||
|
||||
int seq_path(struct seq_file *, struct vfsmount *, struct dentry *, char *);
|
||||
int seq_path(struct seq_file *, struct path *, char *);
|
||||
|
||||
int single_open(struct file *, int (*)(struct seq_file *, void *), void *);
|
||||
int single_release(struct inode *, struct file *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue