mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 07:10:27 +00:00
Merge branch 'for-linus-4.1-rc4' of git://git.kernel.org/pub/scm/linux/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
This commit is contained in:
commit
92752b5cdd
@ -581,7 +581,7 @@ static int hostfs_create(struct inode *dir, struct dentry *dentry, umode_t mode,
|
|||||||
if (name == NULL)
|
if (name == NULL)
|
||||||
goto out_put;
|
goto out_put;
|
||||||
|
|
||||||
fd = file_create(name, mode & S_IFMT);
|
fd = file_create(name, mode & 0777);
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
error = fd;
|
error = fd;
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user