diff options
author | NeilBrown <[email protected]> | 2015-05-08 10:16:23 +1000 |
---|---|---|
committer | Chris Mason <[email protected]> | 2015-10-06 06:55:23 -0700 |
commit | 7d35199e15b82a4d1a20049153b03e6258ce79f7 (patch) | |
tree | 285948462f1025eba99217bbb979399f414b41d5 /tools/perf/scripts/python | |
parent | e5fffbac4a49270e4976d71a0e054c0cf3ef4f8e (diff) |
BTRFS: support NFSv2 export
The "fh_len" passed to ->fh_to_* is not guaranteed to be that same as
that returned by encode_fh - it may be larger.
With NFSv2, the filehandle is fixed length, so it may appear longer
than expected and be zero-padded.
So we must test that fh_len is at least some value, not exactly equal
to it.
Signed-off-by: NeilBrown <[email protected]>
Acked-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions