pstore: Initial use of cleanup.h
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 0 repliesNew
- v15 patches 8 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | pstore: inode: Convert kfree() usage to __free(kfree)fs/ | +4 | 0 replies | |
| 2/4 | pstore: inode: Convert mutex usage to guard(mutex)fs/ | +31 | 0 replies | |
| 3/4 | pstore: inode: Use __free(pstore_iput) for inode allocationsfs/ | +5 | 0 replies | |
| 4/4 | pstore: inode: Use cleanup.h for struct pstore_privatefs/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/4] pstore: Initial use of cleanup.h
Hi,
Mostly as practice for myself, I rewrote a bunch of the error handling paths in pstore to use the new cleanup.h routines. I'm enjoying this part:
"44 insertions(+), 65 deletions(-)"
It also passes basic testing. :)
-Kees
v2: do not add a global iput macro
v1: https://lore.kernel.org/lkml/[email protected]/
Kees Cook (4):
pstore: inode: Convert kfree() usage to __free(kfree)
pstore: inode: Convert mutex usage to guard(mutex)
pstore: inode: Use __free(pstore_iput) for inode allocations
pstore: inode: Use cleanup.h for struct pstore_private
fs/pstore/inode.c | 109 +++++++++++++++++++--------------------------- 1 file changed, 44 insertions(+), 65 deletions(-)
Signature · 1 line
2.34.1