diff options
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, | |||
358 | return error; | 358 | return error; |
359 | } | 359 | } |
360 | 360 | ||
361 | #if 0 | ||
362 | |||
363 | static int gfs2_ea_repack_i(struct gfs2_inode *ip) | ||
364 | { | ||
365 | return -EOPNOTSUPP; | ||
366 | } | ||
367 | |||
368 | int 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 | |||
388 | struct ea_list { | 361 | struct 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; |