summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2007-10-17 08:31:00 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 17:43:03 +0200
commitc756e0a4d79202535774806f148026e40466a5eb (patch)
treeaa769ecfe2204e2e1969108d2c391b88b95e983b /lib
parentfuse: fix reserved request wake up (diff)
downloadlinux-c756e0a4d79202535774806f148026e40466a5eb.tar.xz
linux-c756e0a4d79202535774806f148026e40466a5eb.zip
fuse: add reference counting to fuse_file
Make lifetime of 'struct fuse_file' independent from 'struct file' by adding a reference counter and destructor. This will enable asynchronous page writeback, where it cannot be guaranteed, that the file is not released while a request with this file handle is being served. The actual RELEASE request is only sent when there are no more references to the fuse_file. 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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions