]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/open.c
ipv4: Only compute net once in ip_rcv_finish
[karo-tx-linux.git] / 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;
        }