linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Clean up open CLAIM_PREVIOUS code path
@ 2013-10-21 17:10 Weston Andros Adamson
  2013-10-21 17:10 ` [PATCH 1/5] NFSv4: fix NULL dereference in open recover Weston Andros Adamson
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Weston Andros Adamson @ 2013-10-21 17:10 UTC (permalink / raw)
  To: Trond.Myklebust; +Cc: linux-nfs, Weston Andros Adamson

My original patch was to just fix the NULL dereference, but Trond noticed
some other problems in _nfs4_opendata_reclaim_to_nfs4_state, so I went ahead
and fixed them.

I separated this into multiple patches for increased bisectability and made
sure the NULL dereference patch was first so that stable@ / distros can choose
to just fix the crash if they wish. 

I went a bit further than the issues Trond raised with the last patch, but I
think it's good for consistency and catching reference counting bugs as errors
and not BUG()s.

 -dros

Weston Andros Adamson (5):
  NFSv4: fix NULL dereference in open recover
  NFSv4: don't fail on missing fattr in open recover
  NFSv4: clean up state ref counting in open recover
  NFSv4: don't reprocess cached open CLAIM_PREVIOUS
  NFSv4: clean up nfs4_state reference counting

 fs/nfs/nfs4proc.c  | 39 +++++++++++++++++++++++++--------------
 fs/nfs/nfs4state.c |  3 ++-
 2 files changed, 27 insertions(+), 15 deletions(-)

-- 
1.7.12.4 (Apple Git-37)


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2013-10-29 13:12 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-21 17:10 [PATCH 0/5] Clean up open CLAIM_PREVIOUS code path Weston Andros Adamson
2013-10-21 17:10 ` [PATCH 1/5] NFSv4: fix NULL dereference in open recover Weston Andros Adamson
2013-10-25  6:08   ` William Dauchy
2013-10-21 17:10 ` [PATCH 2/5] NFSv4: don't fail on missing fattr " Weston Andros Adamson
2013-10-21 17:10 ` [PATCH 3/5] NFSv4: clean up state ref counting " Weston Andros Adamson
2013-10-28 21:06   ` Myklebust, Trond
2013-10-29 12:32     ` Weston Andros Adamson
2013-10-29 12:33       ` Weston Andros Adamson
2013-10-29 12:41         ` Myklebust, Trond
2013-10-29 13:12           ` Weston Andros Adamson
2013-10-21 17:10 ` [PATCH 4/5] NFSv4: don't reprocess cached open CLAIM_PREVIOUS Weston Andros Adamson
2013-10-28 21:08   ` Myklebust, Trond
2013-10-28 23:00     ` Weston Andros Adamson
2013-10-21 17:10 ` [PATCH 5/5] NFSv4: clean up nfs4_state reference counting Weston Andros Adamson
2013-10-28 18:45   ` Myklebust, Trond
2013-10-28 18:53     ` Weston Andros Adamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).