projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4d22e3
)
gfs2: Small gfs2_quota_lock cleanup
author
Bob Peterson
<rpeterso@redhat.com>
Tue, 20 Jun 2023 18:49:57 +0000
(13:49 -0500)
committer
Andreas Gruenbacher
<agruenba@redhat.com>
Tue, 5 Sep 2023 13:58:18 +0000
(15:58 +0200)
No need to set error = 0 since it's set further down.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/quota.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/quota.c
b/fs/gfs2/quota.c
index
21100fe
..
c4da8c0
100644
(file)
--- 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)