Hugh Dickins 387aae6fdd 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>
2013-08-04 11:40:17 -07:00
..
2013-07-16 10:57:36 -07:00
2013-07-03 16:07:39 -07:00
2012-01-03 22:54:56 -05:00
2011-07-26 16:49:47 -07:00
2013-07-09 10:33:22 -07:00
2013-07-10 18:11:34 -07:00
2013-07-10 18:11:34 -07:00
2013-06-28 14:34:33 +02:00
2013-02-23 17:50:18 -08:00
2010-05-21 18:31:21 -04:00
2013-07-10 18:11:34 -07:00
2012-06-20 14:39:36 -07:00
2013-07-10 18:11:34 -07:00
2013-07-10 18:11:34 -07:00