NFSv4: Fix up decode_attr_mdsthreshold
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 5 Jun 2012 13:35:44 +0000 (09:35 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 5 Jun 2012 14:00:47 +0000 (10:00 -0400)
Fix an incorrect use of 'likely()'. The FATTR4_WORD2_MDSTHRESHOLD
bit is only expected in NFSv4.1 OPEN calls, and so is actually
rather _unlikely_.

decode_attr_mdsthreshold needs to clear FATTR4_WORD2_MDSTHRESHOLD
from the attribute bitmap after it has decoded the data.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Andy Adamson <andros@netapp.com>

No differences found