From: Shivani Bhardwaj <shivanib134@gmail.com> To: gregkh@linuxfoundation.org Cc: andreas.dilger@intel.com, oleg.drokin@intel.com, lustre-devel@lists.lustre.org, linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org Subject: [PATCH v2 4/8] Staging: lustre: xattr_cache: Change function calls to kfree Date: Tue, 10 Nov 2015 10:26:36 +0530 [thread overview] Message-ID: <1999e1d863939bed3d168841eabb5b8d16ea36b8.1447129813.git.shivanib134@gmail.com> (raw) In-Reply-To: <cover.1447129813.git.shivanib134@gmail.com> Change the calls of the function ll_finish_md_op_data() to the standard function kfree(). Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com> --- Changes in v2: Fix commit message and merge a patch drivers/staging/lustre/lustre/llite/xattr_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/llite/xattr_cache.c b/drivers/staging/lustre/lustre/llite/xattr_cache.c index e1e599c..b7f3efc 100644 --- a/drivers/staging/lustre/lustre/llite/xattr_cache.c +++ b/drivers/staging/lustre/lustre/llite/xattr_cache.c @@ -306,7 +306,7 @@ static int ll_xattr_find_get_lock(struct inode *inode, op_data->op_valid = OBD_MD_FLXATTR | OBD_MD_FLXATTRLS; rc = md_enqueue(exp, &einfo, oit, op_data, &lockh, NULL, 0, NULL, 0); - ll_finish_md_op_data(op_data); + kfree(op_data); if (rc < 0) { CDEBUG(D_CACHE, -- 2.1.0
WARNING: multiple messages have this Message-ID (diff)
From: Shivani Bhardwaj <shivanib134@gmail.com> To: lustre-devel@lists.lustre.org Subject: [lustre-devel] [PATCH v2 4/8] Staging: lustre: xattr_cache: Change function calls to kfree Date: Tue, 10 Nov 2015 10:26:36 +0530 [thread overview] Message-ID: <1999e1d863939bed3d168841eabb5b8d16ea36b8.1447129813.git.shivanib134@gmail.com> (raw) In-Reply-To: <cover.1447129813.git.shivanib134@gmail.com> Change the calls of the function ll_finish_md_op_data() to the standard function kfree(). Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com> --- Changes in v2: Fix commit message and merge a patch drivers/staging/lustre/lustre/llite/xattr_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/llite/xattr_cache.c b/drivers/staging/lustre/lustre/llite/xattr_cache.c index e1e599c..b7f3efc 100644 --- a/drivers/staging/lustre/lustre/llite/xattr_cache.c +++ b/drivers/staging/lustre/lustre/llite/xattr_cache.c @@ -306,7 +306,7 @@ static int ll_xattr_find_get_lock(struct inode *inode, op_data->op_valid = OBD_MD_FLXATTR | OBD_MD_FLXATTRLS; rc = md_enqueue(exp, &einfo, oit, op_data, &lockh, NULL, 0, NULL, 0); - ll_finish_md_op_data(op_data); + kfree(op_data); if (rc < 0) { CDEBUG(D_CACHE, -- 2.1.0
next prev parent reply other threads:[~2015-11-10 4:57 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-11-10 4:51 [PATCH v2 0/8] Remove wrapper function and clean up the code Shivani Bhardwaj 2015-11-10 4:51 ` [lustre-devel] " Shivani Bhardwaj 2015-11-10 4:51 ` [PATCH v2 1/8] Staging: lustre: dir: Replace function calls Shivani Bhardwaj 2015-11-10 4:51 ` [lustre-devel] " Shivani Bhardwaj 2015-11-10 4:52 ` [PATCH v2 2/8] Staging: lustre: file: Replace function calls with standard function Shivani Bhardwaj 2015-11-10 4:52 ` [lustre-devel] " Shivani Bhardwaj 2015-11-10 4:55 ` [PATCH v2 3/8] Staging: lustre: namei: Replace calls with kfree Shivani Bhardwaj 2015-11-10 4:55 ` [lustre-devel] " Shivani Bhardwaj 2015-11-10 4:56 ` Shivani Bhardwaj [this message] 2015-11-10 4:56 ` [lustre-devel] [PATCH v2 4/8] Staging: lustre: xattr_cache: Change function calls to kfree Shivani Bhardwaj 2015-11-10 4:57 ` [PATCH v2 5/8] Staging: lustre: symlink: Substitute standard function Shivani Bhardwaj 2015-11-10 4:57 ` [lustre-devel] " Shivani Bhardwaj 2015-11-10 4:58 ` [PATCH v2 6/8] Staging: lustre: llite_nfs: Replace function calls with kfree Shivani Bhardwaj 2015-11-10 4:58 ` [lustre-devel] " Shivani Bhardwaj 2015-11-10 4:58 ` [PATCH v2 7/8] Staging: lustre: llite_close: Substitute function calls Shivani Bhardwaj 2015-11-10 4:58 ` [lustre-devel] " Shivani Bhardwaj 2015-11-10 4:59 ` [PATCH v2 8/8] Staging: lustre: llite: Remove ll_finish_md_op_data wrapper Shivani Bhardwaj 2015-11-10 4:59 ` [lustre-devel] " Shivani Bhardwaj
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1999e1d863939bed3d168841eabb5b8d16ea36b8.1447129813.git.shivanib134@gmail.com \ --to=shivanib134@gmail.com \ --cc=andreas.dilger@intel.com \ --cc=devel@driverdev.osuosl.org \ --cc=gregkh@linuxfoundation.org \ --cc=linux-kernel@vger.kernel.org \ --cc=lustre-devel@lists.lustre.org \ --cc=oleg.drokin@intel.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.