mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
cc3ddee97c
Honor the excl flag to the dir-inode create op, instead of behaving
as if it is always set.
Note the old behavior still worked most of the time since a non-exclusive
open only calls the create op, if there is a race and the file is created
between the dentry lookup and the calling of the create call.
While at it change the type of the is_dir parameter to the
vboxsf_dir_create() helper from an int to a bool, to be consistent with
the use of bool for the excl parameter.
Fixes:
|
||
---|---|---|
.. | ||
dir.c | ||
file.c | ||
Kconfig | ||
Makefile | ||
shfl_hostintf.h | ||
super.c | ||
utils.c | ||
vboxsf_wrappers.c | ||
vfsmod.h |