cifs: switch CIFSSMBQAllEAs to use memcmp
authorJeff Layton <jlayton@redhat.com>
Tue, 11 Oct 2011 10:41:32 +0000 (06:41 -0400)
committerSteve French <smfrench@gmail.com>
Thu, 13 Oct 2011 04:41:14 +0000 (23:41 -0500)
commitac423446d83e4fd5c3ffba393b887e531cf6bf46
treec37e2ee3909d5d76a452847b2522b1d58ecdcaf0
parent875cd04381e695afbbbef025438113e12af84963
cifs: switch CIFSSMBQAllEAs to use memcmp

...as that's more efficient when we know that the lengths are equal.

Reported-by: David Howells <dhowells@redhat.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifssmb.c