Skip to content
Commit 9167b0b9 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

VFS: Remove redundant open-coded mode bit check in prepare_binfmt().



The check in prepare_binfmt() for inode->i_mode & 0111 is redundant,
since open_exec() will already have done that.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
(cherry picked from 822dec482ced07af32c378cd936d77345786572b commit)
parent a343bb77
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment