summaryrefslogtreecommitdiffstats
path: root/fs/dquot.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-05-08 00:27:22 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 11:15:05 -0700
commite5f00f42f35e6f4699f105a3bd56874847cbf72f (patch)
treeac4e5c0a9fbafceacf5e78281bab508ba03e5044 /fs/dquot.c
parentc6b40d16d1cfa1a01158049bb887a9bbe48ef7ba (diff)
downloadlinux-e5f00f42f35e6f4699f105a3bd56874847cbf72f.tar.gz
linux-e5f00f42f35e6f4699f105a3bd56874847cbf72f.tar.bz2
linux-e5f00f42f35e6f4699f105a3bd56874847cbf72f.zip
make remove_inode_dquot_ref() static
remove_inode_dquot_ref() can now become static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/dquot.c')
-rw-r--r--fs/dquot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/dquot.c b/fs/dquot.c
index 0a5febc159f2..ca40bfc5cccc 100644
--- a/fs/dquot.c
+++ b/fs/dquot.c
@@ -721,7 +721,8 @@ static inline int dqput_blocks(struct dquot *dquot)
/* 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];