diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-20 19:48:09 (GMT) |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-20 19:48:09 (GMT) |
commit | 56965536b8056f57830219efbba4b85218d96d6c (patch) | |
tree | 7fe7553bb716bdb00c411f013cb0eed8a6b72ef6 /fs/gfs2/ops_address.c | |
parent | f0e522a901f209d55992a20f4e30123b43af37dd (diff) | |
download | linux-fsl-qoriq-56965536b8056f57830219efbba4b85218d96d6c.tar.xz |
[GFS2] Remove unused constants
Three of the DIO constants were not being used, so remove them.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_address.c')
-rw-r--r-- | fs/gfs2/ops_address.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/ops_address.c b/fs/gfs2/ops_address.c index 91ec808..3f9da7c 100644 --- a/fs/gfs2/ops_address.c +++ b/fs/gfs2/ops_address.c @@ -65,7 +65,7 @@ static void gfs2_page_add_databufs(struct gfs2_inode *ip, struct page *page, int gfs2_get_block(struct inode *inode, sector_t lblock, struct buffer_head *bh_result, int create) { - return gfs2_block_map(inode, lblock, create, bh_result, 32); + return gfs2_block_map(inode, lblock, create, bh_result, 4); } /** @@ -94,7 +94,7 @@ static int gfs2_get_block_noalloc(struct inode *inode, sector_t lblock, static int gfs2_get_block_direct(struct inode *inode, sector_t lblock, struct buffer_head *bh_result, int create) { - return gfs2_block_map(inode, lblock, 0, bh_result, 512); + return gfs2_block_map(inode, lblock, 0, bh_result, 32); } /** |