Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5196
b: refs/heads/master
c: 8c52ab4
h: refs/heads/master
v: v3
  • Loading branch information
Andreas Gruenbacher authored and Linus Torvalds committed Jul 27, 2005
1 parent e6302b0 commit 34bbc1b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3dcce8e22bf9956ac2c5233539cac07c978e58c7
refs/heads/master: 8c52ab42c11b5a7fb44bb84c954d09968e90e9e7
2 changes: 1 addition & 1 deletion trunk/fs/ext2/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ ext2_xattr_delete_inode(struct inode *inode)
void
ext2_xattr_put_super(struct super_block *sb)
{
mb_cache_shrink(ext2_xattr_cache, sb->s_bdev);
mb_cache_shrink(sb->s_bdev);
}


Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/ext3/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ ext3_xattr_delete_inode(handle_t *handle, struct inode *inode)
void
ext3_xattr_put_super(struct super_block *sb)
{
mb_cache_shrink(ext3_xattr_cache, sb->s_bdev);
mb_cache_shrink(sb->s_bdev);
}

/*
Expand Down
3 changes: 1 addition & 2 deletions trunk/fs/mbcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,11 +316,10 @@ mb_cache_create(const char *name, struct mb_cache_op *cache_op,
* currently in use cannot be freed, and thus remain in the cache. All others
* are freed.
*
* @cache: which cache to shrink
* @bdev: which device's cache entries to shrink
*/
void
mb_cache_shrink(struct mb_cache *cache, struct block_device *bdev)
mb_cache_shrink(struct block_device *bdev)
{
LIST_HEAD(free_list);
struct list_head *l, *ltmp;
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/mbcache.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ struct mb_cache_op {

struct mb_cache * mb_cache_create(const char *, struct mb_cache_op *, size_t,
int, int);
void mb_cache_shrink(struct mb_cache *, struct block_device *);
void mb_cache_shrink(struct block_device *);
void mb_cache_destroy(struct mb_cache *);

/* Functions on cache entries */
Expand Down

0 comments on commit 34bbc1b

Please sign in to comment.