Skip to content

Commit

Permalink
Merge branch 'for-linus-4.1-rc4' of git://git.kernel.org/pub/scm/linu…
Browse files Browse the repository at this point in the history
…x/kernel/git/rw/uml

Pull UML hostfs fix from Richard Weinberger:
 "This contains a single fix for a regression introduced in 4.1-rc1"

* 'for-linus-4.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml:
  hostfs: Use correct mask for file mode
  • Loading branch information
Linus Torvalds committed May 16, 2015
2 parents 1630ee5 + a718c92 commit 92752b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/hostfs/hostfs_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ static int hostfs_create(struct inode *dir, struct dentry *dentry, umode_t mode,
if (name == NULL)
goto out_put;

fd = file_create(name, mode & S_IFMT);
fd = file_create(name, mode & 0777);
if (fd < 0)
error = fd;
else
Expand Down

0 comments on commit 92752b5

Please sign in to comment.