Andreas Gruenbacher a4e8145edc gfs2: Initialize gh_error in gfs2_glock_nq
The gh_error field if a glock holder is initialized to zero in
gfs2_holder_init().  When a locking operation fails, gh_error is set to
an error code; when it succeeds, the gh_error value is left unchanged.
The field isn't initialized in gfs2_holder_reinit(), which is a problem.
Instead of fixing that directly, initialize gh_error in gfs2_glock_nq().
That also obsoletes the assignment in do_flock().

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
2022-02-15 15:01:40 +01:00
..
2019-07-03 14:45:18 +02:00
2022-02-15 15:01:40 +01:00
2021-06-29 10:56:51 +02:00
2021-06-29 10:56:51 +02:00
2021-10-25 08:42:19 +02:00
2021-10-25 08:42:19 +02:00
2021-04-29 10:33:35 -07:00
2021-08-19 12:31:17 -05:00
2021-06-29 10:56:51 +02:00
2022-02-15 15:01:40 +01:00
2022-02-15 15:01:40 +01:00
2022-02-15 15:01:40 +01:00