aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorMiklos Szeredi <[email protected]>2012-08-15 11:01:24 +0000
committerMiklos Szeredi <[email protected]>2012-08-15 11:01:24 +0000
commit62b259d8b3ea9d4a73108fc599e40c863ec25ae6 (patch)
tree8c4cdd05f37a3358aad90a5977d8ec1fc5c935cc /arch/powerpc/lib/code-patching.c
parentvfs: canonicalize create mode in build_open_flags() (diff)
downloadkernel-62b259d8b3ea9d4a73108fc599e40c863ec25ae6.tar.gz
kernel-62b259d8b3ea9d4a73108fc599e40c863ec25ae6.zip
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 <[email protected]> Reported-by: Richard W.M. Jones <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]> Tested-by: Richard W.M. Jones <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions