From: "J. R. Okajima" <hooanon05g@xxxxxxxxx> Turn the feature ON which was introduced by previous commit. Signed-off-by: J. R. Okajima <hooanon05g@xxxxxxxxx> --- fs/configfs/inode.c | 2 +- fs/debugfs/inode.c | 2 +- fs/proc/base.c | 2 +- fs/proc/proc_sysctl.c | 2 +- fs/ramfs/inode.c | 2 +- mm/shmem.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/configfs/inode.c b/fs/configfs/inode.c index 06034b3..e58413a 100644 --- a/fs/configfs/inode.c +++ b/fs/configfs/inode.c @@ -135,7 +135,7 @@ struct inode *configfs_new_inode(umode_t mode, struct configfs_dirent *sd, { struct inode * inode = new_inode(s); if (inode) { - inode->i_ino = get_next_ino(NULL); + inode->i_ino = get_next_ino(s); inode->i_mapping->a_ops = &configfs_aops; inode->i_mapping->backing_dev_info = &configfs_backing_dev_info; inode->i_op = &configfs_inode_operations; diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index d29eeb8..c0a1986 100644 --- a/fs/debugfs/inode.c +++ b/fs/debugfs/inode.c @@ -41,7 +41,7 @@ static struct inode *debugfs_get_inode(struct super_block *sb, umode_t mode, dev struct inode *inode = new_inode(sb); if (inode) { - inode->i_ino = get_next_ino(NULL); + inode->i_ino = get_next_ino(sb); inode->i_mode = mode; inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME; switch (mode & S_IFMT) { diff --git a/fs/proc/base.c b/fs/proc/base.c index d43b2be..9929c35 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -1518,7 +1518,7 @@ struct inode *proc_pid_make_inode(struct super_block * sb, struct task_struct *t /* Common stuff */ ei = PROC_I(inode); - inode->i_ino = get_next_ino(NULL); + inode->i_ino = get_next_ino(sb); inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME; inode->i_op = &proc_def_inode_operations; diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c index 7457bde..2d27e24 100644 --- a/fs/proc/proc_sysctl.c +++ b/fs/proc/proc_sysctl.c @@ -402,7 +402,7 @@ static struct inode *proc_sys_make_inode(struct super_block *sb, if (!inode) goto out; - inode->i_ino = get_next_ino(NULL); + inode->i_ino = get_next_ino(sb); sysctl_head_get(head); ei = PROC_I(inode); diff --git a/fs/ramfs/inode.c b/fs/ramfs/inode.c index 0eff96e..eef0528 100644 --- a/fs/ramfs/inode.c +++ b/fs/ramfs/inode.c @@ -64,7 +64,7 @@ struct inode *ramfs_get_inode(struct super_block *sb, struct inode * inode = new_inode(sb); if (inode) { - inode->i_ino = get_next_ino(NULL); + inode->i_ino = get_next_ino(sb); inode_init_owner(inode, dir, mode); inode->i_mapping->a_ops = &ramfs_aops; inode->i_mapping->backing_dev_info = &ramfs_backing_dev_info; diff --git a/mm/shmem.c b/mm/shmem.c index 7dc9f19..56a7f94 100644 --- a/mm/shmem.c +++ b/mm/shmem.c @@ -1306,7 +1306,7 @@ static struct inode *shmem_get_inode(struct super_block *sb, const struct inode inode = new_inode(sb); if (inode) { - inode->i_ino = get_next_ino(NULL); + inode->i_ino = get_next_ino(sb); inode_init_owner(inode, dir, mode); inode->i_blocks = 0; inode->i_mapping->backing_dev_info = &shmem_backing_dev_info; -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html