diff options
author | Steven Whitehouse | 2006-04-28 17:48:45 +0200 |
---|---|---|
committer | Steven Whitehouse | 2006-04-28 17:48:45 +0200 |
commit | 56409abbf8a9e3754d752d0189f9b9a609ec78de (patch) | |
tree | ad58978a564ce0679d4a560e187840308ed7cc25 /fs/gfs2/eattr.c | |
parent | [GFS2] Update my Credits file entry (diff) | |
download | kernel-qcow2-linux-56409abbf8a9e3754d752d0189f9b9a609ec78de.tar.gz kernel-qcow2-linux-56409abbf8a9e3754d752d0189f9b9a609ec78de.tar.xz kernel-qcow2-linux-56409abbf8a9e3754d752d0189f9b9a609ec78de.zip |
[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/eattr.c')
-rw-r--r-- | fs/gfs2/eattr.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/fs/gfs2/eattr.c b/fs/gfs2/eattr.c index d3316cab2be4..af4f1c3f5929 100644 --- a/fs/gfs2/eattr.c +++ b/fs/gfs2/eattr.c @@ -358,33 +358,6 @@ static int ea_remove_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, return error; } -#if 0 - -static int gfs2_ea_repack_i(struct gfs2_inode *ip) -{ - return -EOPNOTSUPP; -} - -int gfs2_ea_repack(struct gfs2_inode *ip) -{ - struct gfs2_holder gh; - int error; - - error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); - if (error) - return error; - - /* Some sort of permissions checking would be nice */ - - error = gfs2_ea_repack_i(ip); - - gfs2_glock_dq_uninit(&gh); - - return error; -} - -#endif /* 0 */ - struct ea_list { struct gfs2_ea_request *ei_er; unsigned int ei_size; |