projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
blockdev: don't set S_DAX for misaligned partitions
[firefly-linux-kernel-4.4.55.git]
/
fs
/
open.c
diff --git
a/fs/open.c
b/fs/open.c
index e33dab287fa00a3d1d657e4b2d23c1f74529ae72..b6f1e96a7c0b331b3e5a5d9bb4c014c5c9edc54b 100644
(file)
--- a/
fs/open.c
+++ b/
fs/open.c
@@
-377,7
+377,7
@@
retry:
* with the "noexec" flag.
*/
res = -EACCES;
- if (path
.mnt->mnt_flags & MNT_NOEXEC
)
+ if (path
_noexec(&path)
)
goto out_path_release;
}