mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-30 01:47:56 +03:00
Get rid of hardcoded 0xffdf cluster lock flag.
There is hidded change - the upper flags (0xffff0000) and now not cleared, but there are unused anyway.
This commit is contained in:
parent
0a22655ff3
commit
895b6ff719
@ -415,7 +415,7 @@ int lock_resource(struct cmd_context *cmd, const char *resource, uint32_t flags)
|
|||||||
clvmd_cmd = CLVMD_CMD_LOCK_LV;
|
clvmd_cmd = CLVMD_CMD_LOCK_LV;
|
||||||
strcpy(lockname, resource);
|
strcpy(lockname, resource);
|
||||||
lock_scope = "LV";
|
lock_scope = "LV";
|
||||||
flags &= 0xffdf; /* Mask off HOLD flag */
|
flags &= ~LCK_HOLD; /* Mask off HOLD flag */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user