fs: dlm: add errno handling to check callback
authorAlexander Aring <aahringo@redhat.com>
Mon, 1 Mar 2021 22:05:12 +0000 (17:05 -0500)
committerDavid Teigland <teigland@redhat.com>
Tue, 9 Mar 2021 14:56:42 +0000 (08:56 -0600)
commit8aa9540b49e0833feba75dbf4f45babadd0ed215
tree7b078c006dc43714984b6d4bd7424ccda4ae30ec
parente9a470acd930574be812663708dfad6f6f94d80a
fs: dlm: add errno handling to check callback

This allows to return individual errno values for the config attribute
check callback instead of returning invalid argument only.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/config.c