Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321793
b: refs/heads/master
c: af109bc
h: refs/heads/master
i:
  321791: 48e0096
v: v3
  • Loading branch information
Miklos Szeredi committed Aug 15, 2012
1 parent 91252fb commit ab7069a
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 38227f78a5020b3100cbb0406c89807563b10dae
refs/heads/master: af109bca94a8a223c4632a4ff769b3419fe7ed8c
3 changes: 3 additions & 0 deletions trunk/fs/fuse/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,9 @@ static int fuse_create_open(struct inode *dir, struct dentry *entry,
struct fuse_entry_out outentry;
struct fuse_file *ff;

/* Userspace expects S_IFREG in create mode */
BUG_ON((mode & S_IFMT) != S_IFREG);

forget = fuse_alloc_forget();
err = -ENOMEM;
if (!forget)
Expand Down

0 comments on commit ab7069a

Please sign in to comment.