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
..
2015-05-10 22:18:28 -04:00
2015-06-25 17:00:42 -07:00
2015-05-10 22:18:21 -04:00
2015-05-11 08:13:13 -04:00
2015-06-25 17:00:40 -07:00
2015-06-23 17:38:39 -07:00
2015-05-10 22:18:26 -04:00
2015-04-21 16:16:02 -04:00
2015-06-25 17:00:42 -07:00
2015-06-25 17:00:43 -07:00
2015-04-11 22:29:40 -04:00
2015-05-10 22:18:26 -04:00
2015-05-21 15:19:15 +02:00
2015-05-10 22:18:25 -04:00
2015-04-11 22:29:39 -04:00
2015-04-17 09:04:07 -04:00
2015-05-11 08:13:13 -04:00
2015-04-17 09:04:12 -04:00
2015-05-11 08:13:14 -04:00
2015-05-11 08:13:14 -04:00