tmpfs fixes against 2.4.6-pre(2)
Subsystems (2)
PATCH 1/1 tmpfs fixes against 2.4.6-pre(2)
Hi Linus,
This is the second part of my patches.
Writing out of a mapping of a tmpfs file into the same file can deadlock. This is running in the -ac series since some while.
Please apply
Christoph
include/linux/shmem_fs.h +1 -0
@@ -19,6 +19,7 @@struct shmem_inode_info {spinlock_t lock; +struct semaphore sem;unsigned long max_index;swp_entry_t i_direct[SHMEM_NR_DIRECT ];/* for the first blocks */ swp_entry_t **i_indirect;/* doubly indirect blocks */
mm/shmem.c +29 -21
129 lines not on this page · raw message