diff options
| author | Benjamin Marzinski <[email protected]> | 2009-01-06 16:47:50 +0000 |
|---|---|---|
| committer | Steven Whitehouse <[email protected]> | 2009-01-07 08:58:28 +0000 |
| commit | c8f554b947e80a90e1b43bbd4fd26c27765b5f96 (patch) | |
| tree | 748e71063be2f9fab57d765e78d1571c86fc1a91 /fs/jbd/commit.c | |
| parent | GFS2: LSF and LBD are now one and the same (diff) | |
| download | kernel-c8f554b947e80a90e1b43bbd4fd26c27765b5f96.tar.gz kernel-c8f554b947e80a90e1b43bbd4fd26c27765b5f96.zip | |
GFS2: Fix typo in gfs_page_mkwrite()
There is a typo in gfs2_page_mkwrite()
gfs2_write_alloc_required() expects pos to be the offset in bytes. However,
instead of the page index being shifted by by PAGE_CACHE_SHIFT, it was shifted
by (PAGE_CACHE_SIZE - inode->i_blkbits). This patch simply shifts the page
index by the proper amount.
Signed-off-by: Benjamin Marzinski <[email protected]>
Signed-off-by: Steven Whitehouse <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions
