lookup_open(): lock the parent shared unless O_CREAT is given

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2016-04-28 19:35:16 -04:00
commit 9cf843e3f4
2 changed files with 12 additions and 3 deletions