linux_dsm_epyc7002/fs/fuse
Miklos Szeredi dd190d066b [PATCH] fuse: check O_DIRECT
Check O_DIRECT and return -EINVAL error in open.  dentry_open() also checks
this but only after the open method is called.  This patch optimizes away
the unnecessary upcalls in this case.

It could be a correctness issue too: if filesystem has open() with side
effect, then it should fail before doing the open, not after.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-30 12:41:18 -07:00
..
dev.c [PATCH] FUSE: don't allow restarting of system calls 2005-09-09 14:03:48 -07:00
dir.c [PATCH] fuse: check reserved node ID values 2005-09-28 07:46:40 -07:00
file.c [PATCH] fuse: check O_DIRECT 2005-09-30 12:41:18 -07:00
fuse_i.h [PATCH] FUSE: don't allow restarting of system calls 2005-09-09 14:03:48 -07:00
inode.c [PATCH] FUSE: don't allow restarting of system calls 2005-09-09 14:03:48 -07:00
Makefile [PATCH] FUSE - file operations 2005-09-09 14:03:45 -07:00