Filipe David Borba Manana a696cf3529 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 <fdmanana@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
2013-09-01 08:15:48 -04:00
..
2013-06-29 12:57:00 +04:00
2013-05-06 15:54:34 -04:00
2012-10-09 09:14:45 -04:00
2013-03-14 14:57:10 -04:00
2013-02-01 14:24:23 -05:00
2012-10-09 09:19:57 -04:00