fs: ocfs2: use seq_open_private()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | fs: ocfs2: use seq_open_private() not seq_open()fs/ | +14 | 0 replies | |
| 2/3 | fs: ocfs2: use seq_open_private() not seq_open()fs/ | +19 | 0 replies | |
| 3/3 | fs: ocfs2: Use __seq_open_private() not seq_open()fs/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] fs: ocfs2: use seq_open_private()
Use seq_open_private() and __seq_open_private() to reduce boilerplate code in ocfs2.
These two functions have been around, undocumented, for years. They can simplify the set up code for seq file operations.
Note that sparse complains about all three files in this series but the problems are outside the remit of this patch series.
Signed-off-by Rob Jones <[email protected]>
Rob Jones (3):
fs: ocfs2: use seq_open_private() not seq_open()
fs: ocfs2: use seq_open_private() not seq_open()
fs: ocfs2: Use __seq_open_private() not seq_open()
fs/ocfs2/cluster/netdebug.c | 78 +++++++++++-------------------------------- fs/ocfs2/dlm/dlmdebug.c | 39 ++++++++-------------- fs/ocfs2/dlmglue.c | 23 +++---------- 3 files changed, 38 insertions(+), 102 deletions(-)
Signature · 1 line
1.7.10.4