[PATCH 0/4] Readdir fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Two stable patches that fix memory corruption and a memory leak in the
readdir code. Fixing those issues together with the patch by Dai Ngo
then allows us to switch NFS over to the iterate_shared() interface
to enable parallel access to readdir() for the same directory.

Trond Myklebust (4):
  NFS: Fix memory leaks and corruption in readdir
  NFS: Directory page cache pages need to be locked when read
  NFS: Use kmemdup_nul() in nfs_readdir_make_qstr()
  NFS: Switch readdir to using iterate_shared()

 fs/nfs/dir.c | 51 ++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 36 insertions(+), 15 deletions(-)

-- 
2.24.1




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux