diff options
author | Ingo Molnar <mingo@kernel.org> | 2014-06-12 07:46:25 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-06-12 07:46:37 -0400 |
commit | 535560d841b2d54f31280e05e9c6ffd19da0c4e7 (patch) | |
tree | 5320502c072284813f3d3d42412bd73e26130863 /fs/jbd2/commit.c | |
parent | f602d0632755be4f7eddfdd6c0af13216790177b (diff) | |
parent | 3cf2f34e1a3d4d5ff209d087925cf950e52f4805 (diff) |
Merge commit '3cf2f34' into sched/core, to fix build error
Fix this dependency on the locking tree's smp_mb*() API changes:
kernel/sched/idle.c:247:3: error: implicit declaration of function ‘smp_mb__after_atomic’ [-Werror=implicit-function-declaration]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/jbd2/commit.c')
-rw-r--r-- | fs/jbd2/commit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c index 5f26139a165a..6fac74349856 100644 --- a/fs/jbd2/commit.c +++ b/fs/jbd2/commit.c | |||
@@ -43,7 +43,7 @@ static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate) | |||
43 | clear_buffer_uptodate(bh); | 43 | clear_buffer_uptodate(bh); |
44 | if (orig_bh) { | 44 | if (orig_bh) { |
45 | clear_bit_unlock(BH_Shadow, &orig_bh->b_state); | 45 | clear_bit_unlock(BH_Shadow, &orig_bh->b_state); |
46 | smp_mb__after_clear_bit(); | 46 | smp_mb__after_atomic(); |
47 | wake_up_bit(&orig_bh->b_state, BH_Shadow); | 47 | wake_up_bit(&orig_bh->b_state, BH_Shadow); |
48 | } | 48 | } |
49 | unlock_buffer(bh); | 49 | unlock_buffer(bh); |
@@ -239,7 +239,7 @@ static int journal_submit_data_buffers(journal_t *journal, | |||
239 | spin_lock(&journal->j_list_lock); | 239 | spin_lock(&journal->j_list_lock); |
240 | J_ASSERT(jinode->i_transaction == commit_transaction); | 240 | J_ASSERT(jinode->i_transaction == commit_transaction); |
241 | clear_bit(__JI_COMMIT_RUNNING, &jinode->i_flags); | 241 | clear_bit(__JI_COMMIT_RUNNING, &jinode->i_flags); |
242 | smp_mb__after_clear_bit(); | 242 | smp_mb__after_atomic(); |
243 | wake_up_bit(&jinode->i_flags, __JI_COMMIT_RUNNING); | 243 | wake_up_bit(&jinode->i_flags, __JI_COMMIT_RUNNING); |
244 | } | 244 | } |
245 | spin_unlock(&journal->j_list_lock); | 245 | spin_unlock(&journal->j_list_lock); |
@@ -277,7 +277,7 @@ static int journal_finish_inode_data_buffers(journal_t *journal, | |||
277 | } | 277 | } |
278 | spin_lock(&journal->j_list_lock); | 278 | spin_lock(&journal->j_list_lock); |
279 | clear_bit(__JI_COMMIT_RUNNING, &jinode->i_flags); | 279 | clear_bit(__JI_COMMIT_RUNNING, &jinode->i_flags); |
280 | smp_mb__after_clear_bit(); | 280 | smp_mb__after_atomic(); |
281 | wake_up_bit(&jinode->i_flags, __JI_COMMIT_RUNNING); | 281 | wake_up_bit(&jinode->i_flags, __JI_COMMIT_RUNNING); |
282 | } | 282 | } |
283 | 283 | ||