commit | 9167b0b9a0ab7907191523f5a0528e3b9c288e21 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Aug 22 20:06:03 2006 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Aug 24 15:55:06 2006 -0400 |
tree | 63345d9bacaf1b30e977a5cd24322d2426f6109f | |
parent | a343bb7750e6a098909c34f5c5dfddbc4fa40053 [diff] |
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: Trond Myklebust <Trond.Myklebust@netapp.com> (cherry picked from 822dec482ced07af32c378cd936d77345786572b commit)