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)
commit029c53473727f21c1dd73237e8d630a6f007a2fe
tree7d7fffb8b2f0cf3ee5f3db8b844027699cabb82e
parent1549210fcc17e9ae20c09ac8cd4c48a8dfd431bd
NFSv4: Fix up decode_attr_mdsthreshold

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>
fs/nfs/nfs4xdr.c
This page took 0.038445 seconds and 5 git commands to generate.