Warning fix for dlm.c
PATCH 1/1 Warning fix for dlm.c
The following patch fixes a couple of minor warnings about lockflags and lock_path not being used.
--rusty
dlm.c +0 -2
@@ -1233,12 +1233,10 @@ocfs_lock_res *lockres =NULL ;int k =0 ;struct buffer_head *tmpbh =NULL , **b =NULL ; -int lockflags = (lock_id >= osb->vol_layout.bitmap_off ?OCFS_BH_CACHED :0 );/* TODO: 40 bytes of "bool" sitting on the stack for now. move */ /* mutually exclusive flags into an enum and switch on them */ bool disk_vote = false;bool no_owner = false, owner_dead = false, wait_on_recovery = false; -int lock_path = invalid_path;__u32 extra_lock_flags =0 ; LOG_ENTRY_ARGS ("(0x%08x, %u.%u, %u, %u, 0x%08x, 0x%08x)\n", osb,
PATCH 1/1 Warning fix for dlm.c
Quoted 2 lines · Rusty Lynch
The following patch fixes a couple of minor warnings about lockflags and
lock_pathnot being used.
Looks good.
--Mark
--
Mark Fasheh
Software Developer, Oracle Corp
[email protected]