Skip to content

nfsd: fi_delegees bugfix and cleanup

Jeff Layton linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nfsd: fix fi_delegees leak when fi_had_conflict returns truefs/nfsd/nfs4state.c+1 -10 replies
2/2nfsd: fi_delegees doesn't need to be an atomic_tfs/nfsd/nfs4state.c fs/nfsd/state.h+5 -50 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] nfsd: fi_delegees bugfix and cleanup

Hi Bruce,

As I mentioned on IRC yesterday, here are a couple of patches to the fi_delegees handling. The first one fixes a bug. I think it's pretty unlikely to be hit in most cases, so I'm not sure if it's suitable for stable. Your call there.

The second is just a cleanup patch -- fi_delegees is always handled under spinlock so it really doesn't need to be an atomic_t.

Jeff Layton (2):
nfsd: fix fi_delegees leak when fi_had_conflict returns true
nfsd: fi_delegees doesn't need to be an atomic_t

 fs/nfsd/nfs4state.c | 8 ++++----
 fs/nfsd/state.h     | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
Signature · 1 line
2.1.0