commit | e305f48bc453da773a3601135a2cce40b8e62856 | [log] [tgz] |
---|---|---|
author | Andy Lutomirski <luto@amacapital.net> | Thu Aug 01 21:07:52 2013 -0700 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Aug 05 18:24:10 2013 +0400 |
tree | 8352de3ce7907543f435875464d86712b602dfc2 | |
parent | 672fe15d091ce76d6fb98e489962e9add7c1ba4c [diff] |
fs: Fix file mode for O_TMPFILE O_TMPFILE, like O_CREAT, should respect the requested mode and should create regular files. This fixes two bugs: O_TMPFILE required privilege (because the mode ended up as 000) and it produced bogus inodes with no type. Signed-off-by: Andy Lutomirski <luto@amacapital.net> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>