Skip to content

Clean up MF-Symlink code and add readlink support for DFS shares

Sachin Prabhu linux-cifs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8cifs: We do not drop reference to tlink in CIFSCheckMFSymlink()fs/cifs/cifsproto.h fs/cifs/inode.c fs/cifs/link.c+19 -203 replies
2/8cifs: Rename and cleanup open_query_close_cifs_symlink()fs/cifs/cifsglob.h fs/cifs/cifsproto.h fs/cifs/link.c +1 more+20 -311 reply
3/8cifs: Rename MF symlink function namesfs/cifs/cifsproto.h fs/cifs/inode.c fs/cifs/link.c +1 more+24 -261 reply
4/8cifs: use protocol specific call for query_mf_symlink()fs/cifs/link.c+20 -411 reply
5/8cifs: Add create MFSymlinks to protocol ops structfs/cifs/cifsglob.h fs/cifs/cifsproto.h fs/cifs/link.c +1 more+54 -421 reply
6/8cifs: Re-order M-F Symlink codefs/cifs/link.c+68 -561 reply
7/8cifs: move unix extension call to cifs_query_symlink()fs/cifs/link.c fs/cifs/smb1ops.c+15 -101 reply
8/8cifs: Add support for readlink on dfs shares under posix extensionsfs/cifs/smb1ops.c+33 -14 replies

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by.

PatchJeff Layton
1/8R-b
2/8R-b
3/8R-b
4/8Reviwed-by
5/8R-b
6/8R-b
7/8R-b
8/8R-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/8] Clean up MF-Symlink code and add readlink support for DFS shares

The following set of patches was created as a result of an error reported by Red Hat QA which requires code to allow us to call readlink on dfs shares.

Along with a fix for this issue, it appeared to be a good time to clean up the M-F symlink code to make it protocol agnostic as well as fix a couple of bugs in it.

Sachin Prabhu (8):
cifs: We do not drop reference to tlink in CIFSCheckMFSymlink()
cifs: Rename and cleanup open_query_close_cifs_symlink()
cifs: Rename MF symlink function names
cifs: use protocol specific call for query_mf_symlink()
cifs: Add create MFSymlinks to protocol ops struct
cifs: Re-order M-F Symlink code
cifs: move unix extension call to cifs_query_symlink()
cifs: Add support for readlink on dfs shares under posix extensions

 fs/cifs/cifsglob.h  |   8 +-
 fs/cifs/cifsproto.h |  20 ++--
 fs/cifs/inode.c     |  10 +-
 fs/cifs/link.c      | 315 ++++++++++++++++++++++++----------------------------
 fs/cifs/readdir.c   |   2 +-
 fs/cifs/smb1ops.c   |  55 +++++++--
 6 files changed, 218 insertions(+), 192 deletions(-)
Signature · 1 line
1.8.3.1