kernel_optimize_test/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
..
crypto.c [PATCH] eCryptfs: convert f_op->write() to vfs_write() 2007-02-12 09:48:37 -08:00
debug.c
dentry.c
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
Makefile [PATCH] eCryptfs: Public key; packet management 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