mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-04 11:43:54 +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 |