patch-2.4.0-test3 linux/Documentation/filesystems/vfs.txt
Next file: linux/Documentation/kernel-docs.txt
Previous file: linux/Documentation/filesystems/devfs/modules.conf
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Thu Jun 29 15:00:31 2000
- Orig file:
v2.4.0-test2/linux/Documentation/filesystems/vfs.txt
- Orig date:
Tue Dec 7 09:32:38 1999
diff -u --recursive --new-file v2.4.0-test2/linux/Documentation/filesystems/vfs.txt linux/Documentation/filesystems/vfs.txt
@@ -176,7 +176,7 @@
struct super_operations {
void (*read_inode) (struct inode *);
- void (*write_inode) (struct inode *);
+ void (*write_inode) (struct inode *, int);
void (*put_inode) (struct inode *);
void (*delete_inode) (struct inode *);
int (*notify_change) (struct dentry *, struct iattr *);
@@ -198,7 +198,8 @@
read. Other members are filled in by this method
write_inode: this method is called when the VFS needs to write an
- inode to disc
+ inode to disc. The second parameter indicates whether the write
+ should be synchronous or not, not all filesystems check this flag.
put_inode: called when the VFS inode is removed from the inode
cache. This method is optional
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)