]> err.no Git - linux-2.6/commit
VFS: Remove redundant open-coded mode bit checks in open_exec().
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 23 Aug 2006 00:06:04 +0000 (20:06 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 24 Aug 2006 19:55:16 +0000 (15:55 -0400)
commita969fd5a4e162c4485ae8f3e49d674656a18fa36
treeb0b61e40b0bda116e41f2a451666715caed2c263
parent9167b0b9a0ab7907191523f5a0528e3b9c288e21
VFS: Remove redundant open-coded mode bit checks in open_exec().

The check in open_exec() for inode->i_mode & 0111 has been made
redundant by the fix to permission().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
(cherry picked from 1d3741c5d991686699f100b65b9956f7ee7ae0ae commit)
fs/exec.c