diff options
author | Dave Chinner <david@fromorbit.com> | 2015-06-22 18:49:01 -0400 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-06-22 18:49:01 -0400 |
commit | de50e16ffabf64d30ca9372f39dc855a7553e305 (patch) | |
tree | 08b926c00c75fde21823ee8279ce1473546d1356 /fs/xfs/xfs_buf.c | |
parent | 3d238b7e0efc2d9dde7513298ef32da289a6a0f4 (diff) | |
parent | f66bf042693b620133d39af8d2f13615f03eadfc (diff) |
Merge branch 'xfs-misc-fixes-for-4.2-3' into for-next
Diffstat (limited to 'fs/xfs/xfs_buf.c')
-rw-r--r-- | fs/xfs/xfs_buf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c index 1790b00bea7a..a4b7d92e946c 100644 --- a/fs/xfs/xfs_buf.c +++ b/fs/xfs/xfs_buf.c | |||
@@ -1419,9 +1419,9 @@ xfs_buf_submit_wait( | |||
1419 | return error; | 1419 | return error; |
1420 | } | 1420 | } |
1421 | 1421 | ||
1422 | xfs_caddr_t | 1422 | void * |
1423 | xfs_buf_offset( | 1423 | xfs_buf_offset( |
1424 | xfs_buf_t *bp, | 1424 | struct xfs_buf *bp, |
1425 | size_t offset) | 1425 | size_t offset) |
1426 | { | 1426 | { |
1427 | struct page *page; | 1427 | struct page *page; |
@@ -1431,7 +1431,7 @@ xfs_buf_offset( | |||
1431 | 1431 | ||
1432 | offset += bp->b_offset; | 1432 | offset += bp->b_offset; |
1433 | page = bp->b_pages[offset >> PAGE_SHIFT]; | 1433 | page = bp->b_pages[offset >> PAGE_SHIFT]; |
1434 | return (xfs_caddr_t)page_address(page) + (offset & (PAGE_SIZE-1)); | 1434 | return page_address(page) + (offset & (PAGE_SIZE-1)); |
1435 | } | 1435 | } |
1436 | 1436 | ||
1437 | /* | 1437 | /* |