aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/pnfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/pnfs.h')
-rw-r--r--fs/nfs/pnfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h
index 023793909778..c3058a076596 100644
--- a/fs/nfs/pnfs.h
+++ b/fs/nfs/pnfs.h
@@ -275,7 +275,7 @@ pnfs_get_lseg(struct pnfs_layout_segment *lseg)
275{ 275{
276 if (lseg) { 276 if (lseg) {
277 atomic_inc(&lseg->pls_refcount); 277 atomic_inc(&lseg->pls_refcount);
278 smp_mb__after_atomic_inc(); 278 smp_mb__after_atomic();
279 } 279 }
280 return lseg; 280 return lseg;
281} 281}