diff options
Diffstat (limited to 'fs/nfs/write.c')
-rw-r--r-- | fs/nfs/write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 9a3b6a4cd6b9..ffb9459f180b 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c | |||
@@ -405,7 +405,7 @@ int nfs_writepages(struct address_space *mapping, struct writeback_control *wbc) | |||
405 | nfs_pageio_complete(&pgio); | 405 | nfs_pageio_complete(&pgio); |
406 | 406 | ||
407 | clear_bit_unlock(NFS_INO_FLUSHING, bitlock); | 407 | clear_bit_unlock(NFS_INO_FLUSHING, bitlock); |
408 | smp_mb__after_clear_bit(); | 408 | smp_mb__after_atomic(); |
409 | wake_up_bit(bitlock, NFS_INO_FLUSHING); | 409 | wake_up_bit(bitlock, NFS_INO_FLUSHING); |
410 | 410 | ||
411 | if (err < 0) | 411 | if (err < 0) |
@@ -1458,7 +1458,7 @@ static int nfs_commit_set_lock(struct nfs_inode *nfsi, int may_wait) | |||
1458 | static void nfs_commit_clear_lock(struct nfs_inode *nfsi) | 1458 | static void nfs_commit_clear_lock(struct nfs_inode *nfsi) |
1459 | { | 1459 | { |
1460 | clear_bit(NFS_INO_COMMIT, &nfsi->flags); | 1460 | clear_bit(NFS_INO_COMMIT, &nfsi->flags); |
1461 | smp_mb__after_clear_bit(); | 1461 | smp_mb__after_atomic(); |
1462 | wake_up_bit(&nfsi->flags, NFS_INO_COMMIT); | 1462 | wake_up_bit(&nfsi->flags, NFS_INO_COMMIT); |
1463 | } | 1463 | } |
1464 | 1464 | ||