diff options
Diffstat (limited to 'fs/jbd2/transaction.c')
-rw-r--r-- | fs/jbd2/transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c index 10b5e3b1ca8b..80f9b2a3880b 100644 --- a/fs/jbd2/transaction.c +++ b/fs/jbd2/transaction.c | |||
@@ -774,7 +774,7 @@ done: | |||
774 | J_EXPECT_JH(jh, buffer_uptodate(jh2bh(jh)), | 774 | J_EXPECT_JH(jh, buffer_uptodate(jh2bh(jh)), |
775 | "Possible IO failure.\n"); | 775 | "Possible IO failure.\n"); |
776 | page = jh2bh(jh)->b_page; | 776 | page = jh2bh(jh)->b_page; |
777 | offset = ((unsigned long) jh2bh(jh)->b_data) & ~PAGE_MASK; | 777 | offset = offset_in_page(jh2bh(jh)->b_data); |
778 | source = kmap_atomic(page, KM_USER0); | 778 | source = kmap_atomic(page, KM_USER0); |
779 | /* Fire data frozen trigger just before we copy the data */ | 779 | /* Fire data frozen trigger just before we copy the data */ |
780 | jbd2_buffer_frozen_trigger(jh, source + offset, | 780 | jbd2_buffer_frozen_trigger(jh, source + offset, |