summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/check-integrity.c
diff options
context:
space:
mode:
authorFilipe David Borba Manana <fdmanana@gmail.com>2013-08-14 04:00:20 +0200
committerChris Mason <chris.mason@fusionio.com>2013-09-01 14:15:48 +0200
commita696cf3529cecd261d6534fec242e39177b57e19 (patch)
tree8412607e4a543b58728ffd621af9a4a200f7918d /fs/btrfs/check-integrity.c
parentBtrfs: remove reduplicate check when disabling quota (diff)
downloadlinux-a696cf3529cecd261d6534fec242e39177b57e19.tar.xz
linux-a696cf3529cecd261d6534fec242e39177b57e19.zip
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>
Diffstat (limited to 'fs/btrfs/check-integrity.c')
0 files changed, 0 insertions, 0 deletions