]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/seq_file.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
[karo-tx-linux.git] / fs / seq_file.c
index 8d862907f060055f78dc0d0a1143edb67a0a3c7c..853770274f200ae36b49929b2afe55368ec1c047 100644 (file)
@@ -346,8 +346,7 @@ int seq_path(struct seq_file *m, struct path *path, char *esc)
 {
        if (m->count < m->size) {
                char *s = m->buf + m->count;
-               char *p = d_path(path->dentry, path->mnt, s,
-                                m->size - m->count);
+               char *p = d_path(path, s, m->size - m->count);
                if (!IS_ERR(p)) {
                        while (s <= p) {
                                char c = *p++;