aboutsummaryrefslogtreecommitdiffstats
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,
358 return error; 358 return error;
359} 359}
360 360
361#if 0
362
363static int gfs2_ea_repack_i(struct gfs2_inode *ip)
364{
365 return -EOPNOTSUPP;
366}
367
368int gfs2_ea_repack(struct gfs2_inode *ip)
369{
370 struct gfs2_holder gh;
371 int error;
372
373 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh);
374 if (error)
375 return error;
376
377 /* Some sort of permissions checking would be nice */
378
379 error = gfs2_ea_repack_i(ip);
380
381 gfs2_glock_dq_uninit(&gh);
382
383 return error;
384}
385
386#endif /* 0 */
387
388struct ea_list { 361struct ea_list {
389 struct gfs2_ea_request *ei_er; 362 struct gfs2_ea_request *ei_er;
390 unsigned int ei_size; 363 unsigned int ei_size;