diff options
Diffstat (limited to 'fs/gfs2/sys.c')
-rw-r--r-- | fs/gfs2/sys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/sys.c b/fs/gfs2/sys.c index de25d5577e5d..529d9a9eb897 100644 --- a/fs/gfs2/sys.c +++ b/fs/gfs2/sys.c | |||
@@ -333,7 +333,7 @@ static ssize_t block_store(struct gfs2_sbd *sdp, const char *buf, size_t len) | |||
333 | set_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); | 333 | set_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); |
334 | else if (val == 0) { | 334 | else if (val == 0) { |
335 | clear_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); | 335 | clear_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags); |
336 | smp_mb__after_clear_bit(); | 336 | smp_mb__after_atomic(); |
337 | gfs2_glock_thaw(sdp); | 337 | gfs2_glock_thaw(sdp); |
338 | } else { | 338 | } else { |
339 | ret = -EINVAL; | 339 | ret = -EINVAL; |
@@ -482,7 +482,7 @@ static ssize_t jid_store(struct gfs2_sbd *sdp, const char *buf, size_t len) | |||
482 | rv = jid = -EINVAL; | 482 | rv = jid = -EINVAL; |
483 | sdp->sd_lockstruct.ls_jid = jid; | 483 | sdp->sd_lockstruct.ls_jid = jid; |
484 | clear_bit(SDF_NOJOURNALID, &sdp->sd_flags); | 484 | clear_bit(SDF_NOJOURNALID, &sdp->sd_flags); |
485 | smp_mb__after_clear_bit(); | 485 | smp_mb__after_atomic(); |
486 | wake_up_bit(&sdp->sd_flags, SDF_NOJOURNALID); | 486 | wake_up_bit(&sdp->sd_flags, SDF_NOJOURNALID); |
487 | out: | 487 | out: |
488 | spin_unlock(&sdp->sd_jindex_spin); | 488 | spin_unlock(&sdp->sd_jindex_spin); |