NeilBrown f73c2f1f83 NILFS2: 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 <neilb@suse.de>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-06-25 17:00:43 -07:00
..
2010-07-23 10:02:14 +09:00
2010-10-23 09:24:38 +09:00
2010-07-23 10:02:14 +09:00
2015-04-11 22:29:40 -04:00
2015-01-20 14:03:05 -07:00
2015-06-25 17:00:43 -07:00
2015-01-20 14:03:05 -07:00
2012-12-20 18:40:54 -05:00
2013-11-23 22:33:47 -08:00