Skip to content

layout rework fixes

Benny Halevy linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2SQUASHME: pnfs-submit: check has_layout in __nfs4_closefs/nfs/nfs4state.c+5 -20 replies
2/2SQUASHME: pnfs-submit: clean up nfs_lock_alloc_layoutfs/nfs/pnfs.c+22 -203 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] layout rework fixes

The following fixes result from Andy latest patchset to change nfs_inode.layout into a pointer and reworking the layout allocation scheme.

[PATCH 1/2] SQUASHME: pnfs-submit: check has_layout in __nfs4_close This fixes a NULL dereference on __nfs4_closer when the layout is NULL.

[PATCH 2/2] SQUASHME: pnfs-submit: clean up nfs_lock_alloc_layout This fixes a BUG_ON where nfs_lock_alloc_layout did not lock the inode if the layout was already allocated.