Skip to content

cifs: Add support for querying reparse points from userspace

Pali Rohár linux-cifs lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cifs: Split parse_reparse_point callback to functions: get buffer and parse bufferfs/smb/client/cifsglob.h fs/smb/client/inode.c fs/smb/client/reparse.c +3 more+25 -370 replies
2/4cifs: Add a new xattr system.reparse for querying repase point from SMB serverfs/smb/client/xattr.c+46 -00 replies
3/4cifs: Change translation of STATUS_NOT_A_REPARSE_POINT to -ENODATAfs/smb/client/netmisc.c fs/smb/client/nterr.c fs/smb/client/nterr.h +1 more+10 -10 replies
4/4cifs: Check if server supports reparse points before using themfs/smb/client/cifssmb.c fs/smb/client/link.c fs/smb/client/smb2inode.c +1 more+15 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] cifs: Add support for querying reparse points from userspace

This patch series add a new xattr system.reparse for querying reparse point buffer from userspace, fixes errnos related to reparse points and do not attempt to use reparse points when server does not support them.

Add new reparse point or changing/deleting existing reparse point is not implemented yet, can be done in the future via setxattr()/removexattr().

Pali Rohár (4):
cifs: Split parse_reparse_point callback to functions: get buffer and
parse buffer
cifs: Add a new xattr system.reparse for querying repase point from
SMB server
cifs: Change translation of STATUS_NOT_A_REPARSE_POINT to -ENODATA
cifs: Check if server supports reparse points before using them

 fs/smb/client/cifsglob.h     |  6 ++---
 fs/smb/client/cifssmb.c      |  3 +++
 fs/smb/client/inode.c        | 11 +++++----
 fs/smb/client/link.c         |  3 ++-
 fs/smb/client/netmisc.c      |  7 ++++++
 fs/smb/client/nterr.c        |  1 +
 fs/smb/client/nterr.h        |  1 +
 fs/smb/client/reparse.c      | 15 ++++--------
 fs/smb/client/reparse.h      |  5 +---
 fs/smb/client/smb1ops.c      | 17 +++++--------
 fs/smb/client/smb2inode.c    |  8 +++++++
 fs/smb/client/smb2maperror.c |  2 +-
 fs/smb/client/smb2ops.c      | 12 +++++-----
 fs/smb/client/xattr.c        | 46 ++++++++++++++++++++++++++++++++++++
 14 files changed, 96 insertions(+), 41 deletions(-)
Signature · 1 line
2.20.1