[PATCH 0/3] make BTRFS, UDF, NILFS2 work with NFSv2.

From: NeilBrown
Date: Thu May 07 2015 - 20:50:38 EST


Hi filesystem folks,
I just had a report that BTRFS doesn't work reliably with NFSv2.

The problem is that NFSv2 doesn't encode filehandle size so it may
report to the filesystem a longer handle that is being expected.

Filesystems should not require a specific length, only at least that
length.

A code audit shows that NILFS2 and UDF suffer the same problem.

Following patches should fix it... well, they compile and look good.

Please consider for inclusion is respective trees.


Admittedly NFSv2 is a bit "last century", but while it is easy to
support, we may as well.

Thanks,
NeilBrown


---

NeilBrown (3):
BTRFS: support NFSv2 export
NILFS2: support NFSv2 export
UDF: support NFSv2 export


fs/btrfs/export.c | 10 +++++-----
fs/nilfs2/namei.c | 6 +++---
fs/udf/namei.c | 16 ++++++++++++----
3 files changed, 20 insertions(+), 12 deletions(-)

--
Signature

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/