mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
file_locking: use PATH_MAX for dir name
Using just 128 chars for locking dir may wail if longer dir entry is used, swich to default linux max path.
This commit is contained in:
parent
08018a5345
commit
a6b159e99c
@ -1,5 +1,6 @@
|
||||
Version 2.02.106 -
|
||||
====================================
|
||||
Use correct PATH_MAX for locking dir path.
|
||||
Do not check for backups when when its creation is disabled.
|
||||
Don't allow --mergedconfig without --type current in dumpconfig. Fix memleak.
|
||||
Make global/lvdisplay_shows_full_device_path lvm.conf setting profilable.
|
||||
|
@ -37,7 +37,7 @@ struct lock_list {
|
||||
};
|
||||
|
||||
static struct dm_list _lock_list;
|
||||
static char _lock_dir[NAME_LEN];
|
||||
static char _lock_dir[PATH_MAX];
|
||||
static int _prioritise_write_locks;
|
||||
|
||||
static sig_t _oldhandler;
|
||||
|
Loading…
Reference in New Issue
Block a user