Skip to content

netfs: Miscellaneous fixes

David Howells ceph-devel linux-cifs linux-erofs linux-fsdevel linux-mm linux-nfs lkml netfs regressions v9fs 1 version Applied

Status from this message: Applied to the vfs.netfs branch of the vfs/vfs.git tree.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2netfs: Fix i_dio_count leak on DIO read past i_sizefs/netfs/io.c+2 -01 reply
2/2netfs: Fix missing zero-length check in unbuffered writefs/netfs/buffered_write.c fs/netfs/direct_write.c+7 -14 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJeff LaytonDominique Martinet
1/2R-b
2/2R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] netfs: Miscellaneous fixes

Hi Christian,

Here are a couple of fixes for netfslib:

(1) Fix an i_dio_count leak on a DIO read starting beyond EOF.

(2) Fix a missing zero-length check in an unbuffered write causing 9p to indicate EIO.

The patches can also be found here:

https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=netfs-fixes

Thanks,
David

David Howells (1):
netfs: Fix missing zero-length check in unbuffered write

Marc Dionne (1):
netfs: Fix i_dio_count leak on DIO read past i_size

 fs/netfs/buffered_write.c | 3 +++
 fs/netfs/direct_write.c   | 5 ++++-
 fs/netfs/io.c             | 2 ++
 3 files changed, 9 insertions(+), 1 deletion(-)