linux/fs/vboxsf
Hans de Goede cc3ddee97c vboxsf: Honor excl flag to the dir-inode create op
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: 0fd1695766 ("fs: Add VirtualBox guest shared folder (vboxsf) support")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2021-06-23 14:36:36 +02:00
..
dir.c vboxsf: Honor excl flag to the dir-inode create op 2021-06-23 14:36:36 +02:00
file.c
Kconfig
Makefile
shfl_hostintf.h
super.c vboxsf: don't allow to change the inode type 2021-03-12 22:15:00 -05:00
utils.c vboxsf: don't allow to change the inode type 2021-03-12 22:15:00 -05:00
vboxsf_wrappers.c
vfsmod.h vboxsf: don't allow to change the inode type 2021-03-12 22:15:00 -05:00