write_inode_now and __dpath

From: Tim Waugh (twaugh@redhat.com)
Date: Thu Jul 06 2000 - 05:21:36 EST


Could someone who knows more about these functions please check that
I've described the parameters correctly?

Thanks,
Tim.
*/

Index: fs/inode.c
===================================================================
RCS file: /usr/local/src/cvsroot/linux/fs/inode.c,v
retrieving revision 1.1.1.30
diff -u -r1.1.1.30 inode.c
--- fs/inode.c 2000/06/30 08:33:21 1.1.1.30
+++ fs/inode.c 2000/07/06 10:20:36
@@ -261,6 +261,7 @@
 /**
  * write_inode_now - write an inode to disk
  * @inode: inode to write to disk
+ * @sync: whether to do the write synchronously
  *
  * This function commits an inode to disk immediately if it is
  * dirty. This is primarily needed by knfsd.
Index: fs/dcache.c
===================================================================
RCS file: /usr/local/src/cvsroot/linux/fs/dcache.c,v
retrieving revision 1.1.1.22
diff -u -r1.1.1.22 dcache.c
--- fs/dcache.c 2000/07/06 09:28:14 1.1.1.22
+++ fs/dcache.c 2000/07/06 10:20:36
@@ -914,6 +914,9 @@
 /**
  * d_path - return the path of a dentry
  * @dentry: dentry to report
+ * @vfsmnt: vfsmount that the dentry belongs to
+ * @root: root dentry of vfsmnt
+ * @rootmnt: root vfsmnt
  * @buffer: buffer to return value in
  * @buflen: buffer length
  *
@@ -921,7 +924,7 @@
  * the string " (deleted)" is appended. Note that this is ambiguous. Returns
  * the buffer.
  *
- * "buflen" should be %PAGE_SIZE or more. Caller holds the dcache_lock.
+ * @buflen should be %PAGE_SIZE or more. Caller holds the dcache_lock.
  */
 char * __d_path(struct dentry *dentry, struct vfsmount *vfsmnt,
                 struct dentry *root, struct vfsmount *rootmnt,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:18 EST