Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1266243
| From | Shivani Bhardwaj <shivanib134@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 7/8] Staging: lustre: llite_close: Substitute function calls |
| Date | 2015-11-10 06:00 +0100 |
| Message-ID | <qt9ce-nP-31@gated-at.bofh.it> (permalink) |
| References | <qt9cd-nP-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Substitute standard function kfree() in place of the function
ll_finish_md_op_data().
Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
---
Changes in v2:
Fix commit message and merge a patch
drivers/staging/lustre/lustre/llite/llite_close.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/lustre/lustre/llite/llite_close.c b/drivers/staging/lustre/lustre/llite/llite_close.c
index 3f348a3..c4f22ec 100644
--- a/drivers/staging/lustre/lustre/llite/llite_close.c
+++ b/drivers/staging/lustre/lustre/llite/llite_close.c
@@ -301,7 +301,7 @@ static void ll_done_writing(struct inode *inode)
CERROR("inode %lu mdc done_writing failed: rc = %d\n",
inode->i_ino, rc);
out:
- ll_finish_md_op_data(op_data);
+ kfree(op_data);
if (och) {
md_clear_open_replay_data(ll_i2sbi(inode)->ll_md_exp, och);
kfree(och);
--
2.1.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 0/8] Remove wrapper function and clean up the code Shivani Bhardwaj <shivanib134@gmail.com> - 2015-11-10 06:00 +0100 [PATCH v2 7/8] Staging: lustre: llite_close: Substitute function calls Shivani Bhardwaj <shivanib134@gmail.com> - 2015-11-10 06:00 +0100 [PATCH v2 4/8] Staging: lustre: xattr_cache: Change function calls to kfree Shivani Bhardwaj <shivanib134@gmail.com> - 2015-11-10 06:00 +0100 [PATCH v2 8/8] Staging: lustre: llite: Remove ll_finish_md_op_data wrapper Shivani Bhardwaj <shivanib134@gmail.com> - 2015-11-10 06:10 +0100
csiph-web