]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/seq_file.c
expand some comments (d_path / seq_path)
[net-next-2.6.git] / fs / seq_file.c
index 16c211558c2253f38b51af2f9eca76a2d52cb19f..99d8b8cfc9b78673e1040d0e690f33cf43361bdf 100644 (file)
@@ -389,8 +389,14 @@ char *mangle_path(char *s, char *p, char *esc)
 }
 EXPORT_SYMBOL(mangle_path);
 
-/*
- * return the absolute path of 'dentry' residing in mount 'mnt'.
+/**
+ * seq_path - seq_file interface to print a pathname
+ * @m: the seq_file handle
+ * @path: the struct path to print
+ * @esc: set of characters to escape in the output
+ *
+ * return the absolute path of 'path', as represented by the
+ * dentry / mnt pair in the path parameter.
  */
 int seq_path(struct seq_file *m, struct path *path, char *esc)
 {