gfs2: Remove a missed rcu_read_unlock() in gfs2_glock_get()
PATCH 1/1 gfs2: Remove a missed rcu_read_unlock() in gfs2_glock_get()
Commit 64b8e0b83eaa "gfs2: gfs2_glock_get: Wait on freeing glocks" missed removing the final rcu_read_unlock() call.
--- fs/gfs2/glock.c | 1 - 1 file changed, 1 deletion(-)
fs/gfs2/glock.c +0 -1
@@ -881,7 +881,6 @@ int gfs2_glock_get(struct gfs2_sbd *sdp, u64 number,atomic_dec (&sdp->sd_glock_disposal); out: -rcu_read_unlock ();return ret; }
Signature · 1 line
2.13.3
Andreas Gruenbacher
maintainerPATCH 1/1 gfs2: Remove a missed rcu_read_unlock() in gfs2_glock_get()
Quoted 13 lines · Andrew Price
Commit
64b8e0b83eaa"gfs2:gfs2_glock_get: Wait on freeing glocks" missed removing the finalrcu_read_unlock()call.Signed-off-by Andrew Price <[email protected]>--- fs/gfs2/glock.c | 1 - 1 file changed, 1 deletion(-)fs/gfs2/glock.c +0
-0
fs/gfs2/glock.c int gfs2_glock_get(struct gfs2_sbd *sdp, u64 number, · line 885
Quoted 6 lines
fs/gfs2/glock.c +0
-1@@ -881,7 +881,6 @@ int gfs2_glock_get(struct gfs2_sbd *sdp, u64 number,atomic_dec (&sdp->sd_glock_disposal); out: -rcu_read_unlock ();return ret; }
It seems this fails on preemptible kernels only, so we didn't see it in our previous testing.
Thanks,
Andreas
PATCH 1/1 gfs2: Remove a missed rcu_read_unlock() in gfs2_glock_get()
In reply to Andrew Price----- Original Message -----
| Commit 64b8e0b83eaa "gfs2: gfs2_glock_get: Wait on freeing glocks" | missed removing the final rcu_read_unlock() call. | | Signed-off-by: Andrew Price <[email protected]> | ---
Hi,
Thanks. This is now pushed to the for-next branch of the linux-gfs2 tree:
https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git/commit/fs/gfs2?h=for-next&id=7bfd81576ec4d6b7d463cae3dd4a43ac1323cc30
Regards,
Bob Peterson
Red Hat File Systems