From: Miklos Szeredi Date: Wed, 17 Oct 2007 06:31:00 +0000 (-0700) Subject: fuse: add reference counting to fuse_file X-Git-Tag: v2.6.24-rc1~548 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c756e0a4d79202535774806f148026e40466a5eb;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed