acrn-kernel/arch/s390/hypfs
Michael Holzheu 9b5a03e198 [S390] hypfs: inode corruption due to missing locking
hypfs removes the whole hypfs directory tree and creates a new one, when a
process triggers an update by writing to the "update" attribute. When removing
and creating files, it is necessary to lock the inode of the parent directory
where the files live. Currently hypfs does not lock the parent inode, which
can lead to inode corruption. This patch:
 * Introduces correct locking
 * Fixes i_nlink reference counting for inodes, when creating directories
 * Adds info printk, when hypfs filesystem has been mounted

Signed-off-by: Michael Holzheu <holzheu@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
2007-08-22 13:51:49 +02:00
..
Makefile [S390] Hypervisor filesystem (s390_hypfs) for z/VM 2007-02-05 21:18:29 +01:00
hypfs.h [S390] Hypervisor filesystem (s390_hypfs) for z/VM 2007-02-05 21:18:29 +01:00
hypfs_diag.c [S390] Add exception handler for diagnose 224 2007-05-31 17:38:10 +02:00
hypfs_vm.c [S390] Hypervisor filesystem (s390_hypfs) for z/VM 2007-02-05 21:18:29 +01:00
inode.c [S390] hypfs: inode corruption due to missing locking 2007-08-22 13:51:49 +02:00