From: Michael Halcrow Date: Mon, 12 Feb 2007 08:53:48 +0000 (-0800) Subject: [PATCH] eCryptfs: convert f_op->write() to vfs_write() X-Git-Tag: v2.6.21-rc1~274^2~100 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70456600f42f85cfcbdd9d7a6029c03b6f9c5d1e;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed