From: Adrian Bunk <bunk@stusta.de>
To: Christoph Hellwig <hch@lst.de>, jack@suse.cz
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] make remove_inode_dquot_ref() static
Date: Tue, 20 Feb 2007 01:07:38 +0100 [thread overview]
Message-ID: <20070220000738.GY13958@stusta.de> (raw)
remove_inode_dquot_ref() can now become static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
fs/dquot.c | 3 ++-
include/linux/quotaops.h | 3 ---
2 files changed, 2 insertions(+), 4 deletions(-)
--- linux-2.6.20-mm2/include/linux/quotaops.h.old 2007-02-18 22:27:48.000000000 +0100
+++ linux-2.6.20-mm2/include/linux/quotaops.h 2007-02-18 22:27:54.000000000 +0100
@@ -37,9 +37,6 @@
extern int dquot_commit_info(struct super_block *sb, int type);
extern int dquot_mark_dquot_dirty(struct dquot *dquot);
-int remove_inode_dquot_ref(struct inode *inode, int type,
- struct list_head *tofree_head);
-
extern int vfs_quota_on(struct super_block *sb, int type, int format_id, char *path);
extern int vfs_quota_on_mount(struct super_block *sb, char *qf_name,
int format_id, int type);
--- linux-2.6.20-mm2/fs/dquot.c.old 2007-02-18 22:28:03.000000000 +0100
+++ linux-2.6.20-mm2/fs/dquot.c 2007-02-18 22:28:16.000000000 +0100
@@ -721,7 +721,8 @@
/* Remove references to dquots from inode - add dquot to list for freeing if needed */
/* We can't race with anybody because we hold dqptr_sem for writing... */
-int remove_inode_dquot_ref(struct inode *inode, int type, struct list_head *tofree_head)
+static int remove_inode_dquot_ref(struct inode *inode, int type,
+ struct list_head *tofree_head)
{
struct dquot *dquot = inode->i_dquot[type];
next reply other threads:[~2007-02-20 0:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-20 0:07 Adrian Bunk [this message]
2007-02-20 11:22 ` [2.6 patch] make remove_inode_dquot_ref() static Jan Kara
-- strict thread matches above, loose matches on Subject: below --
2007-03-25 14:58 Adrian Bunk
2007-03-25 17:03 ` Christoph Hellwig
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=20070220000738.GY13958@stusta.de \
--to=bunk@stusta.de \
--cc=hch@lst.de \
--cc=jack@suse.cz \
--cc=linux-kernel@vger.kernel.org \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox