fuse: add atomic open+truncate support
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 18 Oct 2007 10:07:02 +0000 (03:07 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:31 +0000 (14:37 -0700)
commit6ff958edbf39c014eb06b65ad25b736be08c4e63
treef87af1ae11b321cfa38c25378229f25942797385
parent17637cbaba592076c221dc045ca78422b4af6290
fuse: add atomic open+truncate support

This patch allows fuse filesystems to implement open(..., O_TRUNC) as a single
request, instead of separate truncate and open requests.

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/dir.c
fs/fuse/file.c
fs/fuse/fuse_i.h
fs/fuse/inode.c
include/linux/fuse.h