Linux CIFS filesystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/3] smb: client: fix file compression flag ioctls
@ 2026-06-08 15:57 Huiwen He
  2026-06-08 15:57 ` [PATCH v2 1/3] smb/client: always return a value for FS_IOC_GETFLAGS Huiwen He
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Huiwen He @ 2026-06-08 15:57 UTC (permalink / raw)
  To: smfrench, linkinjeon, pc, ronniesahlberg, sprasad, tom, bharathsm,
	senozhatsky, dhowells, metze, chenxiaosong
  Cc: linux-cifs

From: Huiwen He <hehuiwen@kylinos.cn>

v1->v2:
- Patch 1 is unchanged.
- Patch 2 now requests FILE_READ_ATTRIBUTES for the temporary by-path
  handle, only falls back to by-path open for -EBADF from
  cifs_get_writable_file(), removes the thin set_compression wrapper, and
  moves the temporary cifsFileInfo off the stack to fix the LKP
  frame-size warning.
- Patch 3 now returns -EOPNOTSUPP for unsupported FS_IOC_SETFLAGS bits and
  is adjusted for the helper cleanup in patch 2.

Link to v1:
https://lore.kernel.org/linux-cifs/20260606144316.183032-1-huiwen.he@linux.dev

Thanks,
Huiwen He

Huiwen He (3):
  smb/client: always return a value for FS_IOC_GETFLAGS
  smb/client: use writable handle for FS_IOC_SETFLAGS compression
  smb/client: allow FS_IOC_SETFLAGS to clear compression

 fs/smb/client/cifsglob.h  |   2 +-
 fs/smb/client/cifssmb.c   |   4 +-
 fs/smb/client/ioctl.c     | 153 ++++++++++++++++++++++++++++++++++----
 fs/smb/client/smb1ops.c   |   5 +-
 fs/smb/client/smb1proto.h |   2 +-
 fs/smb/client/smb2ops.c   |   4 +-
 fs/smb/client/smb2pdu.c   |   6 +-
 fs/smb/client/smb2proto.h |   3 +-
 8 files changed, 153 insertions(+), 26 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-06-08 15:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-08 15:57 [PATCH v2 0/3] smb: client: fix file compression flag ioctls Huiwen He
2026-06-08 15:57 ` [PATCH v2 1/3] smb/client: always return a value for FS_IOC_GETFLAGS Huiwen He
2026-06-08 15:57 ` [PATCH v2 2/3] smb/client: use writable handle for FS_IOC_SETFLAGS compression Huiwen He
2026-06-08 15:57 ` [PATCH v2 3/3] smb/client: allow FS_IOC_SETFLAGS to clear compression Huiwen He

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox