diff options
| author | Ingo Molnar <mingo@elte.hu> | 2010-08-12 15:38:56 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2010-08-12 15:39:04 -0400 |
| commit | f46a6804135795f77d096ab0128f27531c7d051c (patch) | |
| tree | 7cd33f69e3661327739ae4c96e5a8389e7fc912e /fs/freevxfs | |
| parent | b3e84ffa21f916e3354a12a7f19169c9febe96d0 (diff) | |
| parent | ad41a1e0cab07c5125456e8d38e5b1ab148d04aa (diff) | |
Merge branch 'linus' into perf/urgent
Merge reason: Fix upstream breakage introduced by:
de5d9bf: Move list types from <linux/list.h> to <linux/types.h>.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/freevxfs')
| -rw-r--r-- | fs/freevxfs/vxfs_extern.h | 2 | ||||
| -rw-r--r-- | fs/freevxfs/vxfs_inode.c | 8 | ||||
| -rw-r--r-- | fs/freevxfs/vxfs_super.c | 4 |
3 files changed, 8 insertions, 6 deletions
diff --git a/fs/freevxfs/vxfs_extern.h b/fs/freevxfs/vxfs_extern.h index 50ab5eecb99b..881aa3d217f0 100644 --- a/fs/freevxfs/vxfs_extern.h +++ b/fs/freevxfs/vxfs_extern.h | |||
| @@ -63,7 +63,7 @@ extern void vxfs_put_fake_inode(struct inode *); | |||
| 63 | extern struct vxfs_inode_info * vxfs_blkiget(struct super_block *, u_long, ino_t); | 63 | extern struct vxfs_inode_info * vxfs_blkiget(struct super_block *, u_long, ino_t); |
| 64 | extern struct vxfs_inode_info * vxfs_stiget(struct super_block *, ino_t); | 64 | extern struct vxfs_inode_info * vxfs_stiget(struct super_block *, ino_t); |
| 65 | extern struct inode * vxfs_iget(struct super_block *, ino_t); | 65 | extern struct inode * vxfs_iget(struct super_block *, ino_t); |
| 66 | extern void vxfs_clear_inode(struct inode *); | 66 | extern void vxfs_evict_inode(struct inode *); |
| 67 | 67 | ||
| 68 | /* vxfs_lookup.c */ | 68 | /* vxfs_lookup.c */ |
| 69 | extern const struct inode_operations vxfs_dir_inode_ops; | 69 | extern const struct inode_operations vxfs_dir_inode_ops; |
diff --git a/fs/freevxfs/vxfs_inode.c b/fs/freevxfs/vxfs_inode.c index 03a6ea5e99f7..79d1b4ea13e7 100644 --- a/fs/freevxfs/vxfs_inode.c +++ b/fs/freevxfs/vxfs_inode.c | |||
| @@ -337,15 +337,17 @@ vxfs_iget(struct super_block *sbp, ino_t ino) | |||
| 337 | } | 337 | } |
| 338 | 338 | ||
| 339 | /** | 339 | /** |
| 340 | * vxfs_clear_inode - remove inode from main memory | 340 | * vxfs_evict_inode - remove inode from main memory |
| 341 | * @ip: inode to discard. | 341 | * @ip: inode to discard. |
| 342 | * | 342 | * |
| 343 | * Description: | 343 | * Description: |
| 344 | * vxfs_clear_inode() is called on the final iput and frees the private | 344 | * vxfs_evict_inode() is called on the final iput and frees the private |
| 345 | * inode area. | 345 | * inode area. |
| 346 | */ | 346 | */ |
| 347 | void | 347 | void |
| 348 | vxfs_clear_inode(struct inode *ip) | 348 | vxfs_evict_inode(struct inode *ip) |
| 349 | { | 349 | { |
| 350 | truncate_inode_pages(&ip->i_data, 0); | ||
| 351 | end_writeback(ip); | ||
| 350 | kmem_cache_free(vxfs_inode_cachep, ip->i_private); | 352 | kmem_cache_free(vxfs_inode_cachep, ip->i_private); |
| 351 | } | 353 | } |
diff --git a/fs/freevxfs/vxfs_super.c b/fs/freevxfs/vxfs_super.c index 1e8af939b3e4..dc0c041e85cb 100644 --- a/fs/freevxfs/vxfs_super.c +++ b/fs/freevxfs/vxfs_super.c | |||
| @@ -61,7 +61,7 @@ static int vxfs_statfs(struct dentry *, struct kstatfs *); | |||
| 61 | static int vxfs_remount(struct super_block *, int *, char *); | 61 | static int vxfs_remount(struct super_block *, int *, char *); |
| 62 | 62 | ||
| 63 | static const struct super_operations vxfs_super_ops = { | 63 | static const struct super_operations vxfs_super_ops = { |
| 64 | .clear_inode = vxfs_clear_inode, | 64 | .evict_inode = vxfs_evict_inode, |
| 65 | .put_super = vxfs_put_super, | 65 | .put_super = vxfs_put_super, |
| 66 | .statfs = vxfs_statfs, | 66 | .statfs = vxfs_statfs, |
| 67 | .remount_fs = vxfs_remount, | 67 | .remount_fs = vxfs_remount, |
| @@ -135,7 +135,7 @@ static int vxfs_remount(struct super_block *sb, int *flags, char *data) | |||
| 135 | } | 135 | } |
| 136 | 136 | ||
| 137 | /** | 137 | /** |
| 138 | * vxfs_read_super - read superblock into memory and initalize filesystem | 138 | * vxfs_read_super - read superblock into memory and initialize filesystem |
| 139 | * @sbp: VFS superblock (to fill) | 139 | * @sbp: VFS superblock (to fill) |
| 140 | * @dp: fs private mount data | 140 | * @dp: fs private mount data |
| 141 | * @silent: do not complain loudly when sth is wrong | 141 | * @silent: do not complain loudly when sth is wrong |
