]> git.baikalelectronics.ru Git - kernel.git/commit
fs: dlm: handle range check as callback
authorAlexander Aring <aahringo@redhat.com>
Thu, 24 Sep 2020 14:31:24 +0000 (10:31 -0400)
committerDavid Teigland <teigland@redhat.com>
Tue, 29 Sep 2020 19:00:32 +0000 (14:00 -0500)
commitf8be804cdad8ffb8b14a680a7234d694b077f108
tree25f329ff5f7b60c1cf5e790efe0e6244ff53a0ac
parentee1f730d74c2c784692b9bfce39f39a4c1e0af68
fs: dlm: handle range check as callback

This patch adds a callback to CLUSTER_ATTR macro to allow individual
callbacks for attributes which might have a more complex attribute range
checking just than non zero.

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