From 27bc5b862e152887f01f727338d701f5c4fb0e71 Mon Sep 17 00:00:00 2001 From: Olga Kornievskaia Date: Wed, 24 Aug 2011 13:22:51 -0400 Subject: [PATCH] [driver] ignore label_security queries --- sys/nfs41_driver.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/nfs41_driver.c b/sys/nfs41_driver.c index c5f09ee..8c4886a 100644 --- a/sys/nfs41_driver.c +++ b/sys/nfs41_driver.c @@ -3678,7 +3678,8 @@ NTSTATUS nfs41_QuerySecurityInformation ( print_acl_args(info_class); /* we don't support sacls */ - if (info_class == SACL_SECURITY_INFORMATION) + if (info_class == SACL_SECURITY_INFORMATION || + info_class == LABEL_SECURITY_INFORMATION) goto out; if (nfs41_fobx->acl && nfs41_fobx->acl_len) { @@ -3808,7 +3809,8 @@ NTSTATUS nfs41_SetSecurityInformation ( } /* we don't support sacls */ - if (info_class == SACL_SECURITY_INFORMATION) + if (info_class == SACL_SECURITY_INFORMATION || + info_class == LABEL_SECURITY_INFORMATION) goto out; status = nfs41_UpcallCreate(NFS41_ACL_SET, &nfs41_fobx->sec_ctx,