]> asedeno.scripts.mit.edu Git - linux.git/commit
dlm: constify kset_uevent_ops structure
authorBhumika Goyal <bhumirks@gmail.com>
Fri, 28 Jul 2017 13:19:17 +0000 (18:49 +0530)
committerDavid Teigland <teigland@redhat.com>
Mon, 7 Aug 2017 16:23:09 +0000 (11:23 -0500)
commit417f7c59ed75bd87aed59052a72bb74674255ea7
tree81ef50f8fb740df43233fac434859c05780ca99c
parent3b0e761ba83cb063eb95734faece35378beebac4
dlm: constify kset_uevent_ops structure

Declare kset_uevent_ops structure as const as it is only passed as an
argument to the function kset_create_and_add. This argument is of type
const, so declare the structure as const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lockspace.c