fs/9p/vfs_inode.c | 3 + fs/9p/vfs_inode_dotl.c | 3 + fs/ceph/file.c | 3 + fs/fuse/dir.c | 3 + fs/gfs2/inode.c | 3 + fs/namei.c | 213 ++++++++++++------ fs/nfs/dir.c | 3 + fs/nfs/file.c | 3 + fs/open.c | 25 +- fs/smb/client/dir.c | 3 + fs/vboxsf/dir.c | 3 + include/linux/fcntl.h | 7 + .../testing/selftests/filesystems/.gitignore | 1 + tools/testing/selftests/filesystems/Makefile | 4 +- tools/testing/selftests/filesystems/fclog.c | 1 + .../filesystems/open_o_creat_o_dir.c | 197 ++++++++++++++++ 16 files changed, 389 insertions(+), 86 deletions(-) create mode 100644 tools/testing/selftests/filesystems/open_o_creat_o_dir.c