]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
VFS: Remove redundant open-coded mode bit check in prepare_binfmt().
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 23 Aug 2006 00:06:03 +0000 (20:06 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 24 Aug 2006 19:55:06 +0000 (15:55 -0400)
commit9167b0b9a0ab7907191523f5a0528e3b9c288e21
tree63345d9bacaf1b30e977a5cd24322d2426f6109f
parenta343bb7750e6a098909c34f5c5dfddbc4fa40053
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)
fs/exec.c