From: Gabriel de Perthuis Date: Wed, 10 Oct 2012 14:50:47 +0000 (-0600) Subject: Fix a sign bug causing invalid memory access in the ino_paths ioctl. X-Git-Tag: v3.7-rc3~21^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=661bec6ba884b86517ef5ea529aabb281a7198d9;p=pandora-kernel.git Fix a sign bug causing invalid memory access in the ino_paths ioctl. To see the problem, create many hardlinks to the same file (120 should do it), then look up paths by inode with: ls -i btrfs inspect inode-resolve -v $ino /mnt/btrfs I noticed the memory layout of the fspath->val data had some irregularities (some unnecessary gaps that stop appearing about halfway), so I'm not sure there aren't any bugs left in it. --- Reading git-diff-tree failed