nfs: Add FF_FLAGS_NO_IO_THRU_MDS for layout flags

Change-Id: I6f90aba1d804b1da666d471b9470acac63df4845
Signed-off-by: Tom Haynes <loghyr@primarydata.com>
Reviewed-on: https://code.wireshark.org/review/11291
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Tom Haynes 2015-10-26 11:29:24 -07:00 committed by Michael Mann
parent 1ea43c26e6
commit 484c31c66e

View file

@ -601,6 +601,7 @@ static int hf_nfs4_fattr_space_freed = -1;
static int hf_nfs4_fattr_change_attr_type = -1;
static int hf_nfs4_ff_layout_flags = -1;
static int hf_nfs4_ff_layout_flags_no_layoutcommit = -1;
static int hf_nfs4_ff_layout_flags_no_io_thru_mds = -1;
static int hf_nfs4_ff_synthetic_owner = -1;
static int hf_nfs4_ff_synthetic_owner_group = -1;
static int hf_nfs4_ff_bytes_completed = -1;
@ -8992,6 +8993,7 @@ dissect_nfs4_layoutget(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree
static const int * layout_flags[] = {
&hf_nfs4_ff_layout_flags_no_layoutcommit,
&hf_nfs4_ff_layout_flags_no_io_thru_mds,
NULL
};
@ -13243,6 +13245,10 @@ proto_register_nfs(void)
"FLAG_NO_LAYOUTCOMMIT", "nfs.ff.layout_flags.no_layoutcommit", FT_BOOLEAN, 32,
TFS(&tfs_set_notset), 0x00000001, NULL, HFILL}},
{ &hf_nfs4_ff_layout_flags_no_io_thru_mds, {
"FLAG_NO_IO_THRU_MDS", "nfs.ff.layout_flags.no_io_thru_mds", FT_BOOLEAN, 32,
TFS(&tfs_set_notset), 0x00000002, NULL, HFILL}},
{ &hf_nfs4_fattr_clone_blocksize, {
"clone block size", "nfs.fattr4.clone_block_size", FT_UINT32, BASE_DEC,
NULL, 0, NULL, HFILL }},