commit | 029c53473727f21c1dd73237e8d630a6f007a2fe | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Jun 05 09:35:44 2012 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Jun 05 10:00:47 2012 -0400 |
tree | 7d7fffb8b2f0cf3ee5f3db8b844027699cabb82e | |
parent | 1549210fcc17e9ae20c09ac8cd4c48a8dfd431bd [diff] |
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>