Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.25-rc7 /fs/seq_file.c

Filename:/fs/seq_file.c
Lines Added:2
Lines Deleted:4
Also changed in: (Previous) 2.6.25-rc6  2.6.25-rc5  2.6.25-rc4  2.6.25-rc3  2.6.25-rc2  2.6.25-rc1-git4 
(Following) 2.6.25-rc8  2.6.25-rc9  2.6.25  2.6.25-git4  2.6.25-git5  2.6.25-git6 

Location
[  2.6.25-rc7
  [  fs
     o  seq_file.c

Patch

diff --git a/fs/seq_file.c b/fs/seq_file.c
index ca71c11..8537702 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, ...)
 }
 EXPORT_SYMBOL(seq_printf);
 
-int seq_path(struct seq_file *m,
-        struct vfsmount *mnt, struct dentry *dentry,
-        char *esc)
+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(dentry, 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++;


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.