aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/eaops.c
diff options
context:
space:
mode:
authorFabio Massimo Di Nitto <fabbione@ubuntu.com>2007-11-27 00:16:42 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2008-01-25 03:08:11 -0500
commit6a69a23f7df18f39e4a084e10b62ff4a144b05a5 (patch)
treed5bc744a43f2f05aea7a419b3c93ea314397d311 /fs/gfs2/eaops.c
parent002ef1dc63ded14507c110d3cf83d0c3f51374ab (diff)
[GFS2] Fix build warnings
Hi Steven, Steven Whitehouse wrote: > Hi, > > Now in the -nmw git tree. Thanks, > > Steve. > > On Wed, 2007-11-21 at 11:54 -0600, Ryan O'Hara wrote: this patch introduces a bunch of build warnings by leaving around struct inode *inode = &ip->i_inode; The patch in attachment cleans them up. Please apply. Signed-off-by: Fabio Massimo Di Nitto <fabbione@ubuntu.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/eaops.c')
-rw-r--r--fs/gfs2/eaops.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/gfs2/eaops.c b/fs/gfs2/eaops.c
index ef91b6e893a0..14fbd95fd664 100644
--- a/fs/gfs2/eaops.c
+++ b/fs/gfs2/eaops.c
@@ -58,22 +58,16 @@ unsigned int gfs2_ea_name2type(const char *name, const char **truncated_name)
58 58
59static int user_eo_get(struct gfs2_inode *ip, struct gfs2_ea_request *er) 59static int user_eo_get(struct gfs2_inode *ip, struct gfs2_ea_request *er)
60{ 60{
61 struct inode *inode = &ip->i_inode;
62
63 return gfs2_ea_get_i(ip, er); 61 return gfs2_ea_get_i(ip, er);
64} 62}
65 63
66static int user_eo_set(struct gfs2_inode *ip, struct gfs2_ea_request *er) 64static int user_eo_set(struct gfs2_inode *ip, struct gfs2_ea_request *er)
67{ 65{
68 struct inode *inode = &ip->i_inode;
69
70 return gfs2_ea_set_i(ip, er); 66 return gfs2_ea_set_i(ip, er);
71} 67}
72 68
73static int user_eo_remove(struct gfs2_inode *ip, struct gfs2_ea_request *er) 69static int user_eo_remove(struct gfs2_inode *ip, struct gfs2_ea_request *er)
74{ 70{
75 struct inode *inode = &ip->i_inode;
76
77 return gfs2_ea_remove_i(ip, er); 71 return gfs2_ea_remove_i(ip, er);
78} 72}
79 73
@@ -151,22 +145,16 @@ static int system_eo_remove(struct gfs2_inode *ip, struct gfs2_ea_request *er)
151 145
152static int security_eo_get(struct gfs2_inode *ip, struct gfs2_ea_request *er) 146static int security_eo_get(struct gfs2_inode *ip, struct gfs2_ea_request *er)
153{ 147{
154 struct inode *inode = &ip->i_inode;
155
156 return gfs2_ea_get_i(ip, er); 148 return gfs2_ea_get_i(ip, er);
157} 149}
158 150
159static int security_eo_set(struct gfs2_inode *ip, struct gfs2_ea_request *er) 151static int security_eo_set(struct gfs2_inode *ip, struct gfs2_ea_request *er)
160{ 152{
161 struct inode *inode = &ip->i_inode;
162
163 return gfs2_ea_set_i(ip, er); 153 return gfs2_ea_set_i(ip, er);
164} 154}
165 155
166static int security_eo_remove(struct gfs2_inode *ip, struct gfs2_ea_request *er) 156static int security_eo_remove(struct gfs2_inode *ip, struct gfs2_ea_request *er)
167{ 157{
168 struct inode *inode = &ip->i_inode;
169
170 return gfs2_ea_remove_i(ip, er); 158 return gfs2_ea_remove_i(ip, er);
171} 159}
172 160