tmpfs fixes against 2.4.6-pre
Subsystems (2)
PATCH 1/1 tmpfs fixes against 2.4.6-pre
Hi Linus,
the appended patch fixes several tmpfs problems:
1) writing out of a mapping of a tmpfs file into the same file can deadlock
2) shmem_remount_fs garbles parameters which are not supplied
3) shmem_file_setup should check the maximum size
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 +44 -29
198 lines not on this page · raw message