From: sandeen@sandeen.net Date: Wed, 26 Nov 2008 03:20:13 +0000 (-0600) Subject: [XFS] Fix compat XFS_IOC_FSBULKSTAT_SINGLE ioctl X-Git-Tag: v2.6.29-rc1~552^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af819d27637119105213433881f158931e29620b;p=pandora-kernel.git [XFS] Fix compat XFS_IOC_FSBULKSTAT_SINGLE ioctl The XFS_IOC_FSBULKSTAT_SINGLE ioctl passes in the desired inode number, while XFS_IOC_FSBULKSTAT passes in the previous/last-stat'd inode number. The compat handler wasn't differentiating these, so when a XFS_IOC_FSBULKSTAT_SINGLE request for inode 128 was sent in, stat information for 131 was sent out. Signed-off-by: Eric Sandeen Reviewed-by: Christoph Hellwig Signed-off-by: Lachlan McIlroy --- Reading git-diff-tree failed