Searched hist:"387 aae6fdd737038e92d7bb40712bdf6dcb11945" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/mm/ |
H A D | shmem.c | diff 387aae6fdd737038e92d7bb40712bdf6dcb11945 Sun Aug 04 13:30:25 CDT 2013 Hugh Dickins <hughd@google.com> 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>
|