From: Filipe David Borba Manana Date: Wed, 14 Aug 2013 02:00:20 +0000 (+0100) Subject: Btrfs: add missing error code to BTRFS_IOC_INO_LOOKUP handler X-Git-Tag: v3.12-rc1~40^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a696cf3529cecd261d6534fec242e39177b57e19;p=pandora-kernel.git Btrfs: add missing error code to BTRFS_IOC_INO_LOOKUP handler If the path doesn't fit in the input buffer, return ENAMETOOLONG instead of returning with a success code (0) and a partially filled and right justified buffer. Also removed useless buffer pointer check outside the while loop. Signed-off-by: Filipe David Borba Manana Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed