aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorJeff Liu <[email protected]>2011-09-18 10:34:02 -0400
committerChris Mason <[email protected]>2011-09-18 10:34:02 -0400
commit48802c8ae2a9d618ec734a61283d645ad527e06c (patch)
treeee6da3e2edae6e355e6133dafd08d5323c136ac5 /net/lapb/lapb_out.c
parent2cf4ce7c2a07782c3f4d899b380a78522bca3238 (diff)
BTRFS: Fix lseek return value for error
The recent reworking of btrfs' lseek lead to incorrect values being returned. This adds checks for seeking beyond EOF in SEEK_HOLE and makes sure the error values come back correct. Andi Kleen also sent in similar patches. Signed-off-by: Jie Liu <[email protected]> Reported-by: Andi Kleen <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions