Skip to content

Commit

Permalink
make remove_inode_dquot_ref() static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed May 8, 2007
1 parent c6b40d1 commit e5f00f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion fs/dquot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down
3 changes: 0 additions & 3 deletions include/linux/quotaops.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ extern int dquot_release(struct dquot *dquot);
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);
Expand Down

0 comments on commit e5f00f4

Please sign in to comment.