You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch fixes to check on the right return value if it was the last
callback. The rv variable got overwritten by the return of
copy_result_to_user(). Fixing it by introducing a second variable for
the return value and don't let rv being overwritten.
Cc: [email protected]
Fixes: 61bed0b ("fs: dlm: use a non-static queue for callbacks")
Reported-by: Valentin Vidić <[email protected]>
Closes: https://lore.kernel.org/gfs2/[email protected]
Signed-off-by: Alexander Aring <[email protected]>
Signed-off-by: David Teigland <[email protected]>
0 commit comments