commit | a696cf3529cecd261d6534fec242e39177b57e19 | [log] [tgz] |
---|---|---|
author | Filipe David Borba Manana <fdmanana@gmail.com> | Wed Aug 14 03:00:20 2013 +0100 |
committer | Chris Mason <chris.mason@fusionio.com> | Sun Sep 01 08:15:48 2013 -0400 |
tree | 8412607e4a543b58728ffd621af9a4a200f7918d | |
parent | b006b2e4f96a21958164ebf37e53c555d9e4fb2f [diff] |
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>