nfsd: handle seqid wraparound in nfsd4_preprocess_layout_stateid
authorJeff Layton <jlayton@poochiereds.net>
Thu, 5 May 2016 10:53:47 +0000 (06:53 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 13 May 2016 19:34:47 +0000 (15:34 -0400)
commit14b7f4a1edf15808cf52dc38277ffe1d84854839
treeb4fcfa64ff59ee0ed5f6ef01d7b828de534e3af9
parent64c59a3726f2dfa71680f9f3c34359e10e3ed7ab
nfsd: handle seqid wraparound in nfsd4_preprocess_layout_stateid

Move the existing static function to an inline helper, and call it.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4layouts.c
fs/nfsd/nfs4state.c
fs/nfsd/state.h