diff options
Diffstat (limited to 'sys-apps/acl/files/0009-NFSv4-POSIX-remove-a-redundant-NULL-check.patch')
-rw-r--r-- | sys-apps/acl/files/0009-NFSv4-POSIX-remove-a-redundant-NULL-check.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/sys-apps/acl/files/0009-NFSv4-POSIX-remove-a-redundant-NULL-check.patch b/sys-apps/acl/files/0009-NFSv4-POSIX-remove-a-redundant-NULL-check.patch deleted file mode 100644 index 515ec9c..0000000 --- a/sys-apps/acl/files/0009-NFSv4-POSIX-remove-a-redundant-NULL-check.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 0989e9ad282ae0806ec9601d4a1038f4103dc0e6 Mon Sep 17 00:00:00 2001 -From: "J. Bruce Fields" <bfields@snoopy.citi.umich.edu> -Date: Tue, 12 Dec 2006 17:15:54 -0500 -Subject: [PATCH 09/17] NFSv4->POSIX: remove a redundant NULL check - -The caller already checks this. ---- - libacl/acl_n4tp_acl_trans.c | 5 ----- - 1 files changed, 0 insertions(+), 5 deletions(-) - -diff --git a/libacl/acl_n4tp_acl_trans.c b/libacl/acl_n4tp_acl_trans.c -index b0d2b54..a81a06d 100644 ---- a/libacl/acl_n4tp_acl_trans.c -+++ b/libacl/acl_n4tp_acl_trans.c -@@ -382,11 +382,6 @@ acl_t acl_n4tp_acl_trans(struct nfs4_acl * nacl_p, acl_type_t ptype) - int ret; - u32 iflags = NFS4_ACL_NOFLAGS; - -- if (nacl_p == NULL) { -- errno = EINVAL; -- return NULL; -- } -- - if (ptype == ACL_TYPE_DEFAULT) { - if (nacl_p->is_directory) - iflags |= NFS4_ACL_REQUEST_DEFAULT; --- -1.7.8.1 - |