]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1: Ensure memory ordering between nfs4_ds_connect and nfs4_fl_prepare_ds
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 26 Sep 2013 18:32:56 +0000 (14:32 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 29 Sep 2013 19:58:35 +0000 (15:58 -0400)
commitdcc8ab00601accf1b23b10cab1a50884e6650a8e
tree69f3ed1d96d708b4b927ed40228a4813c666b88a
parentfdd292e6abb03bf749c8270cc801320b0c90682f
NFSv4.1: Ensure memory ordering between nfs4_ds_connect and nfs4_fl_prepare_ds

We need to ensure that the initialisation of the data server nfs_client
structure in nfs4_ds_connect is correctly ordered w.r.t. the read of
ds->ds_clp in nfs4_fl_prepare_ds.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4filelayoutdev.c