NFS: Fix up read of mirror stats
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 3 Oct 2016 22:13:20 +0000 (18:13 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 3 Dec 2016 20:37:44 +0000 (15:37 -0500)
commit2f8220c16ee0055f7ea541782651b30398752ee4
treea84f2794e42034d44c033563dde215e524d43ea7
parent08e2e5bc6c9a1b0e92da5225080bbb33786abd08
NFS: Fix up read of mirror stats

Need to lock while reading in order to ensure 64-bit reads are correct.

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