]> err.no Git - linux-2.6/commit
[S390] hypfs crashes with invalid mount option.
authorMichael Holzheu <holzheu@de.ibm.com>
Wed, 20 Sep 2006 14:00:04 +0000 (16:00 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 20 Sep 2006 14:00:04 +0000 (16:00 +0200)
commit388c571cffc4ae4e64f0786333e811308acbbc10
tree98bfa69fe8fa4cae331ccfa46118e40d1e80d389
parent564337f34cc10fd8f30329e4e5f14f8995db5711
[S390] hypfs crashes with invalid mount option.

When an invalid mount option is specified, no root inode is created
for hypfs, hypfs_fill_super() returns with -EINVAL and then
hypfs_kill_super() is called. hypfs_kill_super() does not check if
the root inode has been initialized. This patch adds this check.

Signed-off-by: Michael Holzheu <holzheu@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/hypfs/inode.c