Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9512
b: refs/heads/master
c: dd190d0
h: refs/heads/master
v: v3
  • Loading branch information
Miklos Szeredi authored and Linus Torvalds committed Sep 30, 2005
1 parent 2f1a9c7 commit 1c5698a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: daa35edc0a967d1f77c2e2c1346f57d04371487a
refs/heads/master: dd190d066b7ded8c44b2b67dd0a14bed01525d3c
4 changes: 4 additions & 0 deletions trunk/fs/fuse/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ int fuse_open_common(struct inode *inode, struct file *file, int isdir)
struct fuse_file *ff;
int err;

/* VFS checks this, but only _after_ ->open() */
if (file->f_flags & O_DIRECT)
return -EINVAL;

err = generic_file_open(inode, file);
if (err)
return err;
Expand Down

0 comments on commit 1c5698a

Please sign in to comment.