]> err.no Git - linux-2.6/commit
fuse: generic_write_checks() for direct_io
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 23 May 2007 20:57:54 +0000 (13:57 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 24 May 2007 03:14:13 +0000 (20:14 -0700)
commit889f784831d6cc9125a74eb55a5641f95635a204
tree6336e0a52fa2e87b15df5dcb7cafe07e300bd2f4
parent492c8b332e3af279ffadf49b85967d5e43810923
fuse: generic_write_checks() for direct_io

This fixes O_APPEND in direct IO mode.  Also checks writes against file size
limits, notably rlimits.

Reported by Greg Bruno.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fuse/file.c