cifs: fix broken BCC check in is_valid_oplock_break
commit8679b0dba7cb98842cbe37f61ef05ef64106334c
authorJeff Layton <jlayton@redhat.com>
Wed, 16 Mar 2011 19:15:30 +0000 (16 15:15 -0400)
committerSteve French <sfrench@us.ibm.com>
Tue, 12 Apr 2011 00:54:30 +0000 (12 00:54 +0000)
tree8e66525517c527e8a6e466e6fa5637623784ecf5
parent70945643722ffeac779d2529a348f99567fa5c33
cifs: fix broken BCC check in is_valid_oplock_break

The BCC is still __le16 at this point, and in any case we need to
use the get_bcc_le macro to make sure we don't hit alignment
problems.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/misc.c