diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index 21100feb1db7e5e58eea4aeb467676f767a99820..c4da8c01deb792f1a5e8e3f296255862c36b29d6 100644 --- a/fs/gfs2/quota.c +++ b/fs/gfs2/quota.c @@ -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_quota_data *qd; u32 x; - int error = 0; + int error; if (sdp->sd_args.ar_quota != GFS2_QUOTA_ON && sdp->sd_args.ar_quota != GFS2_QUOTA_QUIET)