diff options
Diffstat (limited to 'fs/jbd')
-rw-r--r-- | fs/jbd/transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jbd/transaction.c b/fs/jbd/transaction.c index 981449ca8f18..c9bb7a73f8fd 100644 --- a/fs/jbd/transaction.c +++ b/fs/jbd/transaction.c | |||
@@ -711,7 +711,7 @@ done: | |||
711 | J_EXPECT_JH(jh, buffer_uptodate(jh2bh(jh)), | 711 | J_EXPECT_JH(jh, buffer_uptodate(jh2bh(jh)), |
712 | "Possible IO failure.\n"); | 712 | "Possible IO failure.\n"); |
713 | page = jh2bh(jh)->b_page; | 713 | page = jh2bh(jh)->b_page; |
714 | offset = ((unsigned long) jh2bh(jh)->b_data) & ~PAGE_MASK; | 714 | offset = offset_in_page(jh2bh(jh)->b_data); |
715 | source = kmap_atomic(page, KM_USER0); | 715 | source = kmap_atomic(page, KM_USER0); |
716 | memcpy(jh->b_frozen_data, source+offset, jh2bh(jh)->b_size); | 716 | memcpy(jh->b_frozen_data, source+offset, jh2bh(jh)->b_size); |
717 | kunmap_atomic(source, KM_USER0); | 717 | kunmap_atomic(source, KM_USER0); |