]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Use correct locking when updating nfs4_state in nfs4_close_done
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 11 Feb 2014 15:41:07 +0000 (10:41 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 20 Feb 2014 02:21:07 +0000 (21:21 -0500)
commit8b13243a7f079058d56341f15c888ca581cd699f
tree0c1869e6f68abffd43dbef69fa62673373fc27df
parent3716dbe3368e7ca11fb1d556de9c03c9ae7c0e45
NFSv4: Use correct locking when updating nfs4_state in nfs4_close_done

The stateid and state->flags should be updated atomically under
protection of the state->seqlock.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c