diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2008-02-01 14:52:30 +0000 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-03-31 10:40:45 +0100 |
commit | 1639431a3f57b43da1e15e9268a1d691ac01ba26 (patch) | |
tree | 0e8147c9009c917566cf03c7e23f6ea4ffda8d72 /fs/gfs2/rgrp.h | |
parent | 5731be53e3d82aedd06e02574f833a57b07a08d2 (diff) | |
download | linux-1639431a3f57b43da1e15e9268a1d691ac01ba26.tar.gz linux-1639431a3f57b43da1e15e9268a1d691ac01ba26.tar.bz2 linux-1639431a3f57b43da1e15e9268a1d691ac01ba26.zip |
[GFS2] Merge gfs2_alloc_meta and gfs2_alloc_data
Thanks to the preceeding patches, the only difference between
these two functions is their name. We can thus merge them
and call the new function gfs2_alloc_block to reflect the
fact that it can allocate either kind of block.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/rgrp.h')
-rw-r--r-- | fs/gfs2/rgrp.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/rgrp.h b/fs/gfs2/rgrp.h index 5683605695fd..5e66613b33db 100644 --- a/fs/gfs2/rgrp.h +++ b/fs/gfs2/rgrp.h @@ -46,8 +46,7 @@ void gfs2_inplace_release(struct gfs2_inode *ip); unsigned char gfs2_get_block_type(struct gfs2_rgrpd *rgd, u64 block); -u64 gfs2_alloc_data(struct gfs2_inode *ip); -u64 gfs2_alloc_meta(struct gfs2_inode *ip); +u64 gfs2_alloc_block(struct gfs2_inode *ip); u64 gfs2_alloc_di(struct gfs2_inode *ip, u64 *generation); void gfs2_free_data(struct gfs2_inode *ip, u64 bstart, u32 blen); |