summaryrefslogtreecommitdiff
path: root/fs/gfs2/eattr.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/eattr.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/eattr.c')
-rw-r--r--fs/gfs2/eattr.c27
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;