mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-18 21:58:06 +03:00
Use mlock() only on 'r' memory maps
This commit is contained in:
parent
c948101ccd
commit
4e27a85a2b
@ -136,7 +136,7 @@ static int _maps_line(struct cmd_context *cmd, lvmlock_t lock,
|
||||
}
|
||||
|
||||
/* skip ---p, select with r,w,x */
|
||||
if (fr != 'r' && fw != 'w' && fx != 'x')
|
||||
if (fr != 'r')
|
||||
return 1;
|
||||
|
||||
/* always ignored areas */
|
||||
|
Loading…
x
Reference in New Issue
Block a user