2000-12-18 14:38:58

by Jani Monoses

[permalink] [raw]
Subject: [patch] inode.c doc fix


Hi
here's a patch for documenting the newly introduced flags field
in mark_inode_dirty().

Jani.

--- /usr/src/linux/fs/inode.c Mon Dec 18 15:57:34 2000
+++ inode.c Mon Dec 18 16:08:14 2000
@@ -125,8 +125,10 @@
/**
* __mark_inode_dirty - internal function
* @inode: inode to mark
+ * @flags: dirty flag mask (i.e. I_DIRTY)
*
- * Mark an inode as dirty. Callers should use mark_inode_dirty.
+ * Mark an inode as dirty by setting the specified flags in the inode's i_state field.
+ * Callers should use mark_inode_dirty() or mark_inode_dirty_sync().
*/

void __mark_inode_dirty(struct inode *inode, int flags)