From: Miklos Szeredi Date: Mon, 7 Nov 2005 08:59:52 +0000 (-0800) Subject: [PATCH] FUSE: pass file handle in setattr X-Git-Tag: v2.6.15-rc1~598 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=befc649c2274a1c35f0cd1e888dd83652cbb0422;p=pandora-kernel.git [PATCH] FUSE: pass file handle in setattr This patch passes the file handle supplied in iattr to userspace, in case the ->setattr() was invoked from sys_ftruncate(). This solves the permission checking (or lack thereof) in ftruncate() for the class of filesystems served by an unprivileged userspace process. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed