]> git.karo-electronics.de Git - karo-tx-linux.git/commit
NFS: Fix another COMMIT race in pNFS
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 12 Jul 2017 23:10:57 +0000 (19:10 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 19 Jul 2017 19:28:21 +0000 (15:28 -0400)
commit41181886459b281ed1346369f27b3c3bb8e2dde3
tree6e459cf7aa4d69be2022e2fa03e8136052b537d0
parente39928f942ff7a9d1cb9005423e9e35a0a4bb2e0
NFS: Fix another COMMIT race in pNFS

We must make sure that cinfo->ds->ncommitting is in sync with the
commit list, since it is checked as part of pnfs_commit_list().

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/pnfs_nfs.c