diff options
| author | 2011-09-18 10:34:02 -0400 | |
|---|---|---|
| committer | 2011-09-18 10:34:02 -0400 | |
| commit | 48802c8ae2a9d618ec734a61283d645ad527e06c (patch) | |
| tree | ee6da3e2edae6e355e6133dafd08d5323c136ac5 /tools/perf/scripts/python/sched-migration.py | |
| parent | Merge branch 'btrfs-3.0' into for-linus (diff) | |
| download | wireguard-linux-48802c8ae2a9d618ec734a61283d645ad527e06c.tar.xz wireguard-linux-48802c8ae2a9d618ec734a61283d645ad527e06c.zip | |
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 <jeff.liu@oracle.com>
Reported-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
