Skip to content

Remove wrapper function and clean up the code

Shivani Bhardwaj lkml lustre-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 0 repliesNew
  2. v19 patches 10 repliesSuperseded

Changes in v2 from the cover letter

Fix commit message and merge a patch

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Staging: lustre: dir: Replace function callsdrivers/staging/lustre/lustre/llite/dir.c+7 -70 replies
2/8Staging: lustre: file: Replace function calls with standard functiondrivers/staging/lustre/lustre/llite/file.c+12 -120 replies
3/8Staging: lustre: namei: Replace calls with kfreedrivers/staging/lustre/lustre/llite/namei.c+6 -60 replies
4/8Staging: lustre: xattr_cache: Change function calls to kfreedrivers/staging/lustre/lustre/llite/xattr_cache.c+1 -10 replies
5/8Staging: lustre: symlink: Substitute standard functiondrivers/staging/lustre/lustre/llite/symlink.c+1 -10 replies
6/8Staging: lustre: llite_nfs: Replace function calls with kfreedrivers/staging/lustre/lustre/llite/llite_nfs.c+1 -10 replies
7/8Staging: lustre: llite_close: Substitute function callsdrivers/staging/lustre/lustre/llite/llite_close.c+1 -10 replies
8/8Staging: lustre: llite: Remove ll_finish_md_op_data wrapperdrivers/staging/lustre/lustre/llite/llite_internal.h drivers/staging/lustre/lustre/llite/llite_lib.c+4 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/8] Remove wrapper function and clean up the code

This patchset removes an unnecessary wrapper function, its prototype and replaces all its calls in different files with the standard function that it wraps.
After applying this patch, code becomes cleaner.

Changes in v2:
Fix commit message and merge a patch

Shivani Bhardwaj (8):
Staging: lustre: dir: Replace function calls
Staging: lustre: file: Replace function calls with standard function
Staging: lustre: namei: Replace calls with kfree
Staging: lustre: xattr_cache: Change function calls to kfree
Staging: lustre: symlink: Substitute standard function
Staging: lustre: llite_nfs: Replace function calls with kfree
Staging: lustre: llite_close: Substitute function calls
Staging: lustre: llite: Remove ll_finish_md_op_data wrapper

 drivers/staging/lustre/lustre/llite/dir.c          | 14 ++++++-------
 drivers/staging/lustre/lustre/llite/file.c         | 24 +++++++++++-----------
 drivers/staging/lustre/lustre/llite/llite_close.c  |  2 +-
 .../staging/lustre/lustre/llite/llite_internal.h   |  1 -
 drivers/staging/lustre/lustre/llite/llite_lib.c    | 13 ++++--------
 drivers/staging/lustre/lustre/llite/llite_nfs.c    |  2 +-
 drivers/staging/lustre/lustre/llite/namei.c        | 12 +++++------
 drivers/staging/lustre/lustre/llite/symlink.c      |  2 +-
 drivers/staging/lustre/lustre/llite/xattr_cache.c  |  2 +-
 9 files changed, 33 insertions(+), 39 deletions(-)
Signature · 1 line
2.1.0