aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/cpu.c
diff options
context:
space:
mode:
authorHugh Dickins <hughd@google.com>2013-08-04 11:30:25 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-08-04 11:40:17 -0700
commit387aae6fdd737038e92d7bb40712bdf6dcb11945 (patch)
tree7066b704e3ca7bdc714226aca98f0b5e278d3367 /drivers/base/cpu.c
parentMerge tag 'sound-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound (diff)
downloadlinux-dev-387aae6fdd737038e92d7bb40712bdf6dcb11945.tar.xz
linux-dev-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 <hughd@google.com> Cc: Jie Liu <jeff.liu@oracle.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/base/cpu.c')
0 files changed, 0 insertions, 0 deletions