Skip to content

afs: Miscellaneous small fixes

David Howells linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5afs: Fix afs_server_list to be cleaned up with RCUfs/afs/internal.h fs/afs/server_list.c+2 -11 reply
2/5afs: Make error on cell lookup failure consistent with OpenAFSfs/afs/dynroot.c+2 -21 reply
3/5afs: Return ENOENT if no cell DNS record can be foundfs/afs/vl_rotate.c+10 -01 reply
4/5afs: Fix file locking on R/O volumes to operate in local modefs/afs/super.c+2 -01 reply
5/5afs: Mark a superblock for an R/O or Backup volume as SB_RDONLYfs/afs/super.c+3 -11 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJeffrey AltmanMarc Dionne
SeriesR-b
1/5R-b
2/5R-b R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] afs: Miscellaneous small fixes

Hi Marc,

Here are a set of miscellaneous small fixes to the afs filesystem including:

(1) Fix the afs_server_list struct to be cleaned up with RCU.

(2) Fix afs to translate a no-data result from a DNS lookup into ENOENT, not EDESTADDRREQ for consistency with OpenAFS.

(3) Fix afs to translate a negative DNS lookup result into ENOENT rather than EDESTADDRREQ.

(4) Fix file locking on R/O volumes to operate in local mode as the server doesn't handle exclusive locks on such files.

(5) Not a fix per se, but set SB_RDONLY on superblocks for RO and Backup volumes so that the VFS can see that they're read only.

The patches can be found here:

https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=afs-fixes

Thanks,
David

David Howells (5):
afs: Fix afs_server_list to be cleaned up with RCU
afs: Make error on cell lookup failure consistent with OpenAFS
afs: Return ENOENT if no cell DNS record can be found
afs: Fix file locking on R/O volumes to operate in local mode
afs: Mark a superblock for an R/O or Backup volume as SB_RDONLY

 fs/afs/dynroot.c     |  4 ++--
 fs/afs/internal.h    |  1 +
 fs/afs/server_list.c |  2 +-
 fs/afs/super.c       |  4 ++++
 fs/afs/vl_rotate.c   | 10 ++++++++++
 5 files changed, 18 insertions(+), 3 deletions(-)