From: Miklos Szeredi Date: Wed, 15 Aug 2012 11:01:24 +0000 (+0200) Subject: vfs: atomic_open(): fix create mode usage X-Git-Tag: v3.6-rc3~34^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62b259d8b3ea9d4a73108fc599e40c863ec25ae6;p=pandora-kernel.git vfs: atomic_open(): fix create mode usage Don't mask S_ISREG off the create mode before passing to ->atomic_open(). Other methods (->create, ->mknod) also get the complete file mode and filesystems expect it. Reported-by: Steve Reported-by: Richard W.M. Jones Signed-off-by: Miklos Szeredi Tested-by: Richard W.M. Jones --- Reading git-diff-tree failed