aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/hypfs
diff options
context:
space:
mode:
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>2012-06-29 08:48:09 -0400
committerHeiko Carstens <heiko.carstens@de.ibm.com>2012-07-16 04:53:21 -0400
commitc960bec4fe5c58c288ea206061a40fbb0b28e768 (patch)
treeab883eeef5d8749d23be7cc06e2c5eef60d064e8 /arch/s390/hypfs
parent4679e8933ae6b555e570a7e1b8963c7a0f59c6e5 (diff)
s390/hypfs: Add missing get_next_ino()
With git commit 85fe4025c616a7c0ed07bc2fc8c5371b07f3888c ("fs: do not assign default i_ino in new_inode") the get_next_ino() function was moved from the new_inode() to the different file system implementations. Unfortunately hypfs has been overlooked by the author. With this patch the get_next_ino() is added also to hypfs. Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390/hypfs')
-rw-r--r--arch/s390/hypfs/inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/hypfs/inode.c b/arch/s390/hypfs/inode.c
index 73dae8b9b77a..440382b403c3 100644
--- a/arch/s390/hypfs/inode.c
+++ b/arch/s390/hypfs/inode.c
@@ -103,6 +103,7 @@ static struct inode *hypfs_make_inode(struct super_block *sb, umode_t mode)
103 103
104 if (ret) { 104 if (ret) {
105 struct hypfs_sb_info *hypfs_info = sb->s_fs_info; 105 struct hypfs_sb_info *hypfs_info = sb->s_fs_info;
106 ret->i_ino = get_next_ino();
106 ret->i_mode = mode; 107 ret->i_mode = mode;
107 ret->i_uid = hypfs_info->uid; 108 ret->i_uid = hypfs_info->uid;
108 ret->i_gid = hypfs_info->gid; 109 ret->i_gid = hypfs_info->gid;