From: Miklos Szeredi Date: Thu, 29 Nov 2007 00:22:00 +0000 (-0800) Subject: fuse: pass open flags to read and write X-Git-Tag: v2.6.24-rc4~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6643094e73247c1ebd36816f494f631fa7be348;p=pandora-kernel.git fuse: pass open flags to read and write Some open flags (O_APPEND, O_DIRECT) can be changed with fcntl(F_SETFL, ...) after open, but fuse currently only sends the flags to userspace in open. To make it possible to correcly handle changing flags, send the current value to userspace in each read and write. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed