diff options
| author | Hugh Dickins <[email protected]> | 2013-08-04 18:30:25 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-08-04 18:40:17 +0000 |
| commit | 387aae6fdd737038e92d7bb40712bdf6dcb11945 (patch) | |
| tree | 7066b704e3ca7bdc714226aca98f0b5e278d3367 /fs/btrfs/dev-replace.c | |
| parent | Merge tag 'sound-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai... (diff) | |
| download | kernel-387aae6fdd737038e92d7bb40712bdf6dcb11945.tar.gz kernel-387aae6fdd737038e92d7bb40712bdf6dcb11945.zip | |
tmpfs: fix SEEK_DATA/SEEK_HOLE regression
Commit 46a1c2c7ae53 ("vfs: export lseek_execute() to modules") broke the
tmpfs SEEK_DATA/SEEK_HOLE implementation, because vfs_setpos() converts
the carefully prepared -ENXIO to -EINVAL. Other filesystems avoid it in
error cases: do the same in tmpfs.
Signed-off-by: Hugh Dickins <[email protected]>
Cc: Jie Liu <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
