]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: fix broken BCC check in is_valid_oplock_break
authorJeff Layton <jlayton@redhat.com>
Wed, 16 Mar 2011 19:15:30 +0000 (15:15 -0400)
committerSteve French <sfrench@us.ibm.com>
Tue, 12 Apr 2011 00:54:30 +0000 (00:54 +0000)
commita47b506ceee994d022aca73b6369209acb5effb9
tree8e66525517c527e8a6e466e6fa5637623784ecf5
parent275b4723eb57635bd2cc5b0a68239bef695ca97f
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