dlm: Improve a size determination in dlm_recover_waiters_pre()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 6 May 2017 06:48:29 +0000 (08:48 +0200)
committerDavid Teigland <teigland@redhat.com>
Mon, 7 Aug 2017 16:23:09 +0000 (11:23 -0500)
commit102e67d4e35858644e525ab7d798f1c89d7f4231
treeef7a1c6afb800eed0458707af3816e182f850aa4
parentfbb1008151cabb83aeadf91ae363196def070eba
dlm: Improve a size determination in dlm_recover_waiters_pre()

Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lock.c