diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-02-15 13:36:30 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-02-15 13:36:30 -0500 |
commit | 52833e897fd8c6f62b3e5e27291fa9bc803f7460 (patch) | |
tree | cfe90047ee6c7402674a29ec7258319142b96ff1 /fs/seq_file.c | |
parent | 8d042218b075de3cdbe066198515b3521553746e (diff) | |
parent | 4ee29f6a52158cea526b16a44ae38643946103ec (diff) |
Merge branch 'linus_origin' into hotfixes
Diffstat (limited to 'fs/seq_file.c')
-rw-r--r-- | fs/seq_file.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/seq_file.c b/fs/seq_file.c index ca71c115bdaa..853770274f20 100644 --- a/fs/seq_file.c +++ b/fs/seq_file.c | |||
@@ -342,13 +342,11 @@ int seq_printf(struct seq_file *m, const char *f, ...) | |||
342 | } | 342 | } |
343 | EXPORT_SYMBOL(seq_printf); | 343 | EXPORT_SYMBOL(seq_printf); |
344 | 344 | ||
345 | int seq_path(struct seq_file *m, | 345 | int seq_path(struct seq_file *m, struct path *path, char *esc) |
346 | struct vfsmount *mnt, struct dentry *dentry, | ||
347 | char *esc) | ||
348 | { | 346 | { |
349 | if (m->count < m->size) { | 347 | if (m->count < m->size) { |
350 | char *s = m->buf + m->count; | 348 | char *s = m->buf + m->count; |
351 | char *p = d_path(dentry, mnt, s, m->size - m->count); | 349 | char *p = d_path(path, s, m->size - m->count); |
352 | if (!IS_ERR(p)) { | 350 | if (!IS_ERR(p)) { |
353 | while (s <= p) { | 351 | while (s <= p) { |
354 | char c = *p++; | 352 | char c = *p++; |