diff options
Diffstat (limited to 'trans/mtab.c')
-rw-r--r-- | trans/mtab.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/trans/mtab.c b/trans/mtab.c index e0fcb468..c03749cc 100644 --- a/trans/mtab.c +++ b/trans/mtab.c @@ -843,10 +843,6 @@ trivfs_S_io_select (struct trivfs_protid *cred, if (!cred) return EOPNOTSUPP; - if (((*type & SELECT_READ) && !(cred->po->openmodes & O_READ)) - || ((*type & SELECT_WRITE) && !(cred->po->openmodes & O_WRITE))) - return EBADF; - *type &= ~SELECT_URG; return 0; } |