linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] make BTRFS, UDF, NILFS2 work with NFSv2.
@ 2015-05-08  0:16 NeilBrown
       [not found] ` <20150508001142.31129.7604.stgit-wvvUuzkyo1EYVZTmpyfIwg@public.gmane.org>
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: NeilBrown @ 2015-05-08  0:16 UTC (permalink / raw)
  To: Josef Bacik, Chris Mason, Jan Kara, David Sterba, Ryusuke Konishi
  Cc: linux-fsdevel, linux-nfs, linux-nilfs, linux-kernel, linux-btrfs

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-10-05 14:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-08  0:16 [PATCH 0/3] make BTRFS, UDF, NILFS2 work with NFSv2 NeilBrown
     [not found] ` <20150508001142.31129.7604.stgit-wvvUuzkyo1EYVZTmpyfIwg@public.gmane.org>
2015-05-08  0:16   ` [PATCH 1/3] BTRFS: support NFSv2 export NeilBrown
2015-05-11  8:13     ` David Sterba
2015-09-24  1:59       ` Neil Brown
2015-10-05 14:32         ` Chris Mason
2015-05-08  0:16 ` [PATCH 3/3] UDF: " NeilBrown
     [not found]   ` <20150508001623.31129.24710.stgit-wvvUuzkyo1EYVZTmpyfIwg@public.gmane.org>
2015-05-11  8:57     ` Jan Kara
2015-05-08  0:16 ` [PATCH 2/3] NILFS2: " NeilBrown
     [not found]   ` <20150508001623.31129.25102.stgit-wvvUuzkyo1EYVZTmpyfIwg@public.gmane.org>
2015-05-10 16:31     ` Ryusuke Konishi
2015-05-11  7:02       ` NeilBrown
2015-05-11  9:54         ` Ryusuke Konishi
2015-05-11 11:13           ` [PATCH v2] " NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).