summaryrefslogtreecommitdiff
path: root/fs/gfs2/bmap.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-04-28 11:48:45 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-04-28 11:48:45 -0400
commit56409abbf8a9e3754d752d0189f9b9a609ec78de (patch)
treead58978a564ce0679d4a560e187840308ed7cc25 /fs/gfs2/bmap.c
parentbac1e07926ae514739e6a12218c8b6ce8ce04514 (diff)
[GFS2] Remove some unused code
Remove some of the unused code flagged up by Adrian Bunk. Cc: Adrian Bunk <bunk@stusta.de> Signed-off-by: Steven Whitehouse
Diffstat (limited to 'fs/gfs2/bmap.c')
-rw-r--r--fs/gfs2/bmap.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c
index f570d8caef68..cfe1a428c668 100644
--- a/fs/gfs2/bmap.c
+++ b/fs/gfs2/bmap.c
@@ -49,37 +49,6 @@ struct strip_mine {
};
/**
- * @gfs2_unstuffer_sync - Synchronously unstuff a dinode
- * @ip:
- * @dibh:
- * @block:
- * @private:
- *
- * Cheat and use a metadata buffer instead of a data page.
- *
- * Returns: errno
- */
-#if 0
-int gfs2_unstuffer_sync(struct gfs2_inode *ip, struct buffer_head *dibh,
- uint64_t block, void *private)
-{
- struct buffer_head *bh;
- int error;
-
- bh = gfs2_meta_new(ip->i_gl, block);
-
- gfs2_buffer_copy_tail(bh, 0, dibh, sizeof(struct gfs2_dinode));
-
- set_buffer_dirty(bh);
- error = sync_dirty_buffer(bh);
-
- brelse(bh);
-
- return error;
-}
-#endif /* 0 */
-
-/**
* gfs2_unstuff_dinode - Unstuff a dinode when the data has grown too big
* @ip: The GFS2 inode to unstuff
* @unstuffer: the routine that handles unstuffing a non-zero length file