Changes by: antona
Update of /cvsroot/linux-ntfs/ntfs-driver-tng
In directory usw-pr-cvs1:/tmp/cvs-serv26232
Modified Files:
ChangeLog
Log Message:
Replace run list spinlock with a semaphore.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfs-driver-tng/ChangeLog,v
retrieving revision 1.72
retrieving revision 1.73
diff -U2 -r1.72 -r1.73
--- ChangeLog 5 Mar 2002 00:25:07 -0000 1.72
+++ ChangeLog 6 Mar 2002 16:01:25 -0000 1.73
@@ -97,9 +97,11 @@
- Rename run_list structure to run_list_element and create a new
run_list structure containing a pointer to a run_list_element
- structure and a read/write spinlock. Adapt all usesrs of run lists
+ structure and a read/write semaphore. Adapt all usesrs of run lists
to new scheme and take and release the lock as needed. This fixes a
nasty race as the run_list changes even when inodes are locked for
reading and even when the inode isn't locked at all, so we really
- needed the serialization.
+ needed the serialization. We use a semaphore rather than a spinlock
+ as memory allocations can sleep and doing everything GFP_ATOMIC would
+ be silly.
- Cleanup read_inode() removing all code checking for lowest_vcn != 0.
This can never happen due to the nature of lookup_attr() and how we
@@ -109,4 +111,5 @@
bad if found.
- Update to 2.5.6-pre2 changes in struct address_space.
+ - Use parent_ino() when accessing d_parent inode number in dir.c.
tng-0.0.7 - 13/02/2002 - The driver is now feature complete for read-only!
|