mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6: (96 commits) no need for list_for_each_entry_safe()/resetting with superblock list Fix sget() race with failing mount vfs: don't hold s_umount over close_bdev_exclusive() call sysv: do not mark superblock dirty on remount sysv: do not mark superblock dirty on mount btrfs: remove junk sb_dirt change BFS: clean up the superblock usage AFFS: wait for sb synchronization when needed AFFS: clean up dirty flag usage cifs: truncate fallout mbcache: fix shrinker function return value mbcache: Remove unused features add f_flags to struct statfs(64) pass a struct path to vfs_statfs update VFS documentation for method changes. All filesystems that need invalidate_inode_buffers() are doing that explicitly convert remaining ->clear_inode() to ->evict_inode() Make ->drop_inode() just return whether inode needs to be dropped fs/inode.c:clear_inode() is gone fs/inode.c:evict() doesn't care about delete vs. non-delete paths now ... Fix up trivial conflicts in fs/nilfs2/super.c
This commit is contained in:
commit
5f248c9c25
205 changed files with 2584 additions and 2475 deletions
|
|
@ -63,7 +63,7 @@ extern void vxfs_put_fake_inode(struct inode *);
|
|||
extern struct vxfs_inode_info * vxfs_blkiget(struct super_block *, u_long, ino_t);
|
||||
extern struct vxfs_inode_info * vxfs_stiget(struct super_block *, ino_t);
|
||||
extern struct inode * vxfs_iget(struct super_block *, ino_t);
|
||||
extern void vxfs_clear_inode(struct inode *);
|
||||
extern void vxfs_evict_inode(struct inode *);
|
||||
|
||||
/* vxfs_lookup.c */
|
||||
extern const struct inode_operations vxfs_dir_inode_ops;
|
||||
|
|
|
|||
|
|
@ -337,15 +337,17 @@ vxfs_iget(struct super_block *sbp, ino_t ino)
|
|||
}
|
||||
|
||||
/**
|
||||
* vxfs_clear_inode - remove inode from main memory
|
||||
* vxfs_evict_inode - remove inode from main memory
|
||||
* @ip: inode to discard.
|
||||
*
|
||||
* Description:
|
||||
* vxfs_clear_inode() is called on the final iput and frees the private
|
||||
* vxfs_evict_inode() is called on the final iput and frees the private
|
||||
* inode area.
|
||||
*/
|
||||
void
|
||||
vxfs_clear_inode(struct inode *ip)
|
||||
vxfs_evict_inode(struct inode *ip)
|
||||
{
|
||||
truncate_inode_pages(&ip->i_data, 0);
|
||||
end_writeback(ip);
|
||||
kmem_cache_free(vxfs_inode_cachep, ip->i_private);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ static int vxfs_statfs(struct dentry *, struct kstatfs *);
|
|||
static int vxfs_remount(struct super_block *, int *, char *);
|
||||
|
||||
static const struct super_operations vxfs_super_ops = {
|
||||
.clear_inode = vxfs_clear_inode,
|
||||
.evict_inode = vxfs_evict_inode,
|
||||
.put_super = vxfs_put_super,
|
||||
.statfs = vxfs_statfs,
|
||||
.remount_fs = vxfs_remount,
|
||||
|
|
|
|||
Loading…
Reference in a new issue