commit | a6643094e73247c1ebd36816f494f631fa7be348 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Wed Nov 28 16:22:00 2007 -0800 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Thu Nov 29 09:24:54 2007 -0800 |
tree | 11ba2e666b6fea1cdf579616d6a04b0afd24f61c | |
parent | 7dca9fd39f7d4605ac178a67bb1772381056917d [diff] |
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 <mszeredi@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>