linux/fs/ecryptfs
Michael Halcrow 70456600f4 [PATCH] eCryptfs: convert f_op->write() to vfs_write()
sys_write() takes a local copy of f_pos and writes that back
into the struct file. It does this so that two concurrent write()
callers don't make a mess of f_pos, and of the file contents.

ecryptfs should be calling vfs_write().  That way we also get the fsnotify
notifications, which ecryptfs presently appears to have subverted.

Convert direct calls to f_op->write() into calls to vfs_write().

Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-12 09:48:37 -08:00
..
Makefile [PATCH] eCryptfs: Public key; packet management 2007-02-12 09:48:36 -08:00
crypto.c [PATCH] eCryptfs: convert f_op->write() to vfs_write() 2007-02-12 09:48:37 -08:00
debug.c [PATCH] ecryptfs: fs/Makefile and fs/Kconfig 2006-10-04 07:55:24 -07:00
dentry.c [PATCH] eCryptfs: Use fsstack's generic copy inode attr functions 2006-12-08 08:28:40 -08:00
ecryptfs_kernel.h [PATCH] eCryptfs: Encrypted passthrough 2007-02-12 09:48:36 -08:00
file.c [PATCH] eCryptfs: Encrypted passthrough 2007-02-12 09:48:36 -08:00
inode.c [PATCH] eCryptfs: convert f_op->write() to vfs_write() 2007-02-12 09:48:37 -08:00
keystore.c [PATCH] eCryptfs: Public key; packet management 2007-02-12 09:48:36 -08:00
main.c [PATCH] eCryptfs: Generalize metadata read/write 2007-02-12 09:48:36 -08:00
messaging.c [PATCH] eCryptfs: Generalize metadata read/write 2007-02-12 09:48:36 -08:00
mmap.c [PATCH] eCryptfs: Encrypted passthrough 2007-02-12 09:48:36 -08:00
netlink.c [PATCH] eCryptfs: Public key; packet management 2007-02-12 09:48:36 -08:00
super.c [PATCH] slab: remove SLAB_KERNEL 2006-12-07 08:39:24 -08:00