Commit f511e60a authored by Bob Peterson's avatar Bob Peterson Committed by Andreas Gruenbacher

gfs2: Small gfs2_quota_lock cleanup

No need to set error = 0 since it's set further down.
Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent a4d22e33
...@@ -1074,7 +1074,7 @@ int gfs2_quota_lock(struct gfs2_inode *ip, kuid_t uid, kgid_t gid) ...@@ -1074,7 +1074,7 @@ int gfs2_quota_lock(struct gfs2_inode *ip, kuid_t uid, kgid_t gid)
struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
struct gfs2_quota_data *qd; struct gfs2_quota_data *qd;
u32 x; u32 x;
int error = 0; int error;
if (sdp->sd_args.ar_quota != GFS2_QUOTA_ON && if (sdp->sd_args.ar_quota != GFS2_QUOTA_ON &&
sdp->sd_args.ar_quota != GFS2_QUOTA_QUIET) sdp->sd_args.ar_quota != GFS2_QUOTA_QUIET)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment