diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-03-18 17:33:48 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-03-18 17:33:48 +0000 |
commit | 186e830782dd08350e45c135e62247e092104635 (patch) | |
tree | a4e8087b5ca705b8d2759bbc818e4b07fae813ad | |
parent | 6e87ac7554d567c51df58c8a38b106096018ba37 (diff) |
(diskfs_max_user_pager_prot) [add_pager_max_prot]:
(a == b) ? 1 : 0 ====> (a == b).
-rw-r--r-- | ufs/pager.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ufs/pager.c b/ufs/pager.c index 695a006b..8834f911 100644 --- a/ufs/pager.c +++ b/ufs/pager.c @@ -646,8 +646,7 @@ diskfs_max_user_pager_prot () if (upi->type == FILE_DATA) max_prot |= upi->max_prot; /* Stop iterating if MAX_PROT is as filled as it's going to get. */ - return - (max_prot == (VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE)) ? 1 : 0; + return max_prot == (VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE); } block_caching (); /* Make any silly pagers go away. */ |