diff --git a/fs/cifs/cifsacl.c b/fs/cifs/cifsacl.c index b1f448f2e071d6446562a27b11c8ba9395accc34..c46f26bcd8b2bdec01d4bdf09e869a136cd81303 100644 --- a/fs/cifs/cifsacl.c +++ b/fs/cifs/cifsacl.c @@ -116,7 +116,7 @@ int compare_sids(struct cifs_sid *ctsid, struct cifs_sid *cwsid) /* compare all of the subauth values if any */ num_sat = ctsid->num_subauth; - num_saw = cwsid->num_subauth); + num_saw = cwsid->num_subauth; num_subauth = num_sat < num_saw ? num_sat : num_saw; if (num_subauth) { for (i = 0; i < num_subauth; ++i) {