diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-07-24 19:14:44 (GMT) |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-07-24 20:16:43 (GMT) |
commit | 01d7b29f0edc1a19ff2b960dae1c7dade3bb1753 (patch) | |
tree | af856a6577ff2eab80bc90c684d3e8e4bd12a518 | |
parent | 119cef97a46e2a4b4fbebcf6655358a0b277732d (diff) | |
download | linux-01d7b29f0edc1a19ff2b960dae1c7dade3bb1753.tar.xz |
pNFS: Remove redundant smp_mb() from pnfs_init_lseg()
It's not visible yet, and won't be until after we grab the inode->i_lock.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
-rw-r--r-- | fs/nfs/pnfs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c index 09b77a6..1d47a84 100644 --- a/fs/nfs/pnfs.c +++ b/fs/nfs/pnfs.c @@ -341,7 +341,6 @@ pnfs_init_lseg(struct pnfs_layout_hdr *lo, struct pnfs_layout_segment *lseg, INIT_LIST_HEAD(&lseg->pls_list); INIT_LIST_HEAD(&lseg->pls_lc_list); atomic_set(&lseg->pls_refcount, 1); - smp_mb(); set_bit(NFS_LSEG_VALID, &lseg->pls_flags); lseg->pls_layout = lo; lseg->pls_range = *range; |