diff options
author | Michael Holzheu <holzheu@de.ibm.com> | 2007-08-22 13:51:43 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-08-22 13:51:49 +0200 |
commit | 9b5a03e198c951225d0deb05f3107a4631791266 (patch) | |
tree | 6a70d404272adb8dcdc48f3323f3faa397be9026 /arch/s390/kernel | |
parent | cee9e53f59fe1842a7d26fa1e76382fb6ed21048 (diff) |
[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>
Diffstat (limited to 'arch/s390/kernel')
0 files changed, 0 insertions, 0 deletions