Joachim Henke a35d8f016e nilfs2: make splice write available again
Since 5.10, splice() or sendfile() to NILFS2 return EINVAL.  This was
caused by commit 36e2c7421f02 ("fs: don't allow splice read/write
without explicit ops").

This patch initializes the splice_write field in file_operations, like
most file systems do, to restore the functionality.

Link: https://lkml.kernel.org/r/1612784101-14353-1-git-send-email-konishi.ryusuke@gmail.com
Signed-off-by: Joachim Henke <joachim.henke@t-systems.com>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Tested-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Cc: <stable@vger.kernel.org>	[5.10+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-02-10 11:19:58 -08:00
..
2018-09-04 16:45:02 -07:00
2018-09-04 16:45:02 -07:00
2018-09-04 16:45:02 -07:00
2018-09-04 16:45:02 -07:00
2018-09-04 16:45:02 -07:00
2020-08-12 10:58:01 -07:00
2018-09-04 16:45:02 -07:00
2018-09-04 16:45:02 -07:00
2018-09-04 16:45:02 -07:00
2018-09-04 16:45:02 -07:00
2020-08-12 10:58:01 -07:00
2018-09-04 16:45:02 -07:00
2018-09-04 16:45:02 -07:00
2018-09-04 16:45:02 -07:00
2018-09-04 16:45:02 -07:00
2018-09-04 16:45:02 -07:00
2018-09-04 16:45:02 -07:00