Skip to content

Some cleanups for fs/cifs

Volker Lendecke linux-cifs llvm oe-kbuild oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10cifs: Simplify some callers of compound_send_recv()fs/cifs/cached_dir.c fs/cifs/smb2inode.c fs/cifs/smb2ops.c+0 -100 replies
2/10cifs: Make "resp_buf_type" initialization consistentfs/cifs/cifssmb.c fs/cifs/smb2pdu.c+10 -101 reply
3/10cifs: Slightly simplify cifs_readdir()fs/cifs/readdir.c+2 -10 replies
4/10cifs: Slightly simplify cifs_readdir()fs/cifs/readdir.c+2 -30 replies
5/10cifs: Simplify SMB2_OP_RMDIR with CREATE_DELETE_ON_CLOSEfs/cifs/smb2inode.c+2 -170 replies
6/10cifs: Slightly refactor smb2_compound_op()fs/cifs/smb2inode.c+20 -200 replies
7/10cifs: Reduce copy&paste in smb2_compound_op()fs/cifs/smb2inode.c+28 -740 replies
8/10cifs: Avoid two "else" branchesfs/cifs/smb2pdu.c+6 -40 replies
9/10cifs: Store smb3_create_tag_posix just oncefs/cifs/smb2pdu.c+9 -400 replies
10/10cifs: Use switch/case to dissect negprot reply ctxtsfs/cifs/smb2pdu.c+13 -60 replies

Reviews trailers per patch

None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchTom Talpey
SeriesA-b
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

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 00/10] Some cleanups for fs/cifs

These are some cleanups and simplifications to fs/cifs which helped me understand the code a bit better.

Volker Lendecke (10):
cifs: Simplify some callers of compound_send_recv()
cifs: Make "resp_buf_type" initialization consistent
cifs: Slightly simplify cifs_readdir()
cifs: Slightly simplify cifs_readdir()
cifs: Simplify SMB2_OP_RMDIR with CREATE_DELETE_ON_CLOSE
cifs: Slightly refactor smb2_compound_op()
cifs: Reduce copy&paste in smb2_compound_op()
cifs: Avoid two "else" branches
cifs: Store smb3_create_tag_posix just once
cifs: Use switch/case to dissect negprot reply ctxts

 fs/cifs/cached_dir.c |   1 -
 fs/cifs/cifssmb.c    |   6 +-
 fs/cifs/readdir.c    |   6 +-
 fs/cifs/smb2inode.c  | 163 +++++++++++++------------------------------
 fs/cifs/smb2ops.c    |   7 --
 fs/cifs/smb2pdu.c    |  92 ++++++++++--------------
 6 files changed, 91 insertions(+), 184 deletions(-)
Signature · 1 line
2.30.2