From: "Pali Rohár" <pali@kernel.org>
To: Steve French <sfrench@samba.org>,
Paulo Alcantara <pc@manguebit.com>,
Ronnie Sahlberg <ronniesahlberg@gmail.com>
Cc: linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/4] cifs: Add support for querying reparse points from userspace
Date: Sun, 22 Dec 2024 16:43:36 +0100 [thread overview]
Message-ID: <20241222154340.24104-1-pali@kernel.org> (raw)
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(-)
--
2.20.1
next reply other threads:[~2024-12-22 15:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-22 15:43 Pali Rohár [this message]
2024-12-22 15:43 ` [PATCH 1/4] cifs: Split parse_reparse_point callback to functions: get buffer and parse buffer Pali Rohár
2024-12-22 15:43 ` [PATCH 2/4] cifs: Add a new xattr system.reparse for querying repase point from SMB server Pali Rohár
2024-12-22 15:43 ` [PATCH 3/4] cifs: Change translation of STATUS_NOT_A_REPARSE_POINT to -ENODATA Pali Rohár
2024-12-22 15:43 ` [PATCH 4/4] cifs: Check if server supports reparse points before using them Pali Rohár
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241222154340.24104-1-pali@kernel.org \
--to=pali@kernel.org \
--cc=linux-cifs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pc@manguebit.com \
--cc=ronniesahlberg@gmail.com \
--cc=sfrench@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox