Hi Christian, Jeff, Gao, Dominique,
Here are some additional patches for my netfs-lib tree:
(1) Fix __cachefiles_prepare_write() to correctly validate against the DIO
alignment.
(2) 9p: Fix initialisation of the netfs_inode so that i_size is set before
netfs_inode_init() is called.
(3) 9p: Do a couple of cleanups (remove a couple of unused vars and turn a
BUG_ON() into a warning).
(4) 9p: Always update remote_i_size, even if we're asked not to update
i_size in stat2inode.
(5) 9p: Return the amount written in preference to an error if we wrote
something.
David
The netfslib postings:
Link: https://lore.kernel.org/r/[email protected]/ #
v1
Link: https://lore.kernel.org/r/[email protected]/ #
v2
Link: https://lore.kernel.org/r/[email protected]/ #
v3
Link: https://lore.kernel.org/r/[email protected]/ #
v4
Link: https://lore.kernel.org/r/[email protected]/ #
v5
David Howells (5):
cachefiles: Fix __cachefiles_prepare_write()
9p: Fix initialisation of netfs_inode for 9p
9p: Do a couple of cleanups
9p: Always update remote_i_size in stat2inode
9p: Use length of data written to the server in preference to error
fs/9p/v9fs_vfs.h | 1 +
fs/9p/vfs_addr.c | 24 ++++++++++++------------
fs/9p/vfs_inode.c | 6 +++---
fs/9p/vfs_inode_dotl.c | 7 ++++---
fs/cachefiles/io.c | 28 +++++++++++++++++-----------
5 files changed, 37 insertions(+), 29 deletions(-)