From: Andy Lutomirski Date: Fri, 2 Aug 2013 04:07:52 +0000 (-0700) Subject: fs: Fix file mode for O_TMPFILE X-Git-Tag: v3.11-rc5~29^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e305f48bc453da773a3601135a2cce40b8e62856;p=pandora-kernel.git 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 Signed-off-by: Al Viro --- Reading git-diff-tree failed