lkml.org 
[lkml]   [2015]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subject[PATCH 0/3] make BTRFS, UDF, NILFS2 work with NFSv2.
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



\
 
 \ /
  Last update: 2015-05-08 03:21    [W:1.806 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site