mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-17 06:04:23 +03:00
Remove fs_unlock from lv_resume path
Keep it within clvmd until message for SYNC starts to work.
This commit is contained in:
parent
16f000bcb4
commit
3a00204a23
@ -1,5 +1,6 @@
|
||||
Version 2.02.83 -
|
||||
===================================
|
||||
Remove fs_unlock() from lv_resume path.
|
||||
Fix wipe size when setting up mda.
|
||||
Remove unneeded checks for open_count in lv_info().
|
||||
Synchronize with udev before checking open_count in lv_info().
|
||||
|
@ -517,6 +517,7 @@ int do_lock_lv(unsigned char command, unsigned char lock_flags, char *resource)
|
||||
case LCK_UNLOCK:
|
||||
case LCK_LV_RESUME: /* if active */
|
||||
status = do_resume_lv(resource, lock_flags);
|
||||
fs_unlock();
|
||||
break;
|
||||
|
||||
case LCK_LV_ACTIVATE:
|
||||
|
@ -1124,7 +1124,6 @@ static int _lv_resume(struct cmd_context *cmd, const char *lvid_s,
|
||||
goto_out;
|
||||
|
||||
memlock_dec(cmd);
|
||||
fs_unlock();
|
||||
|
||||
if (!monitor_dev_for_events(cmd, lv, origin_only, 1))
|
||||
stack;
|
||||
|
Loading…
x
Reference in New Issue
Block a user