diff options
Diffstat (limited to 'debian/patches/ext2fs-simplify-expression.patch')
-rw-r--r-- | debian/patches/ext2fs-simplify-expression.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/debian/patches/ext2fs-simplify-expression.patch b/debian/patches/ext2fs-simplify-expression.patch deleted file mode 100644 index c008a3df..00000000 --- a/debian/patches/ext2fs-simplify-expression.patch +++ /dev/null @@ -1,22 +0,0 @@ -commit 9cbbaee2abdb1e0b36f8a72e6ef50efadfee5d1e -Author: Justus Winter <4winter@informatik.uni-hamburg.de> -Date: Sun Apr 27 13:52:20 2014 +0200 - - ext2fs: simplify expression - - * ext2fs/pager.c (add_pager_max_prot): Simplify expression. - -diff --git a/ext2fs/pager.c b/ext2fs/pager.c -index febde8f..92e9178 100644 ---- a/ext2fs/pager.c -+++ b/ext2fs/pager.c -@@ -1488,8 +1488,7 @@ diskfs_max_user_pager_prot () - struct user_pager_info *upi = pager_get_upi (p); - 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); - } - - disable_caching (); /* Make any silly pagers go away. */ |