patch-2.3.23 linux/fs/minix/truncate.c
Next file: linux/fs/nfs/dir.c
Previous file: linux/fs/iobuf.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Oct 18 11:14:58 1999
- Orig file:
v2.3.22/linux/fs/minix/truncate.c
- Orig date:
Wed Aug 18 10:15:19 1999
diff -u --recursive --new-file v2.3.22/linux/fs/minix/truncate.c linux/fs/minix/truncate.c
@@ -33,7 +33,7 @@
*/
#define DATA_BUFFER_USED(bh) \
- (atomic_read(&bh->b_count) || buffer_locked(bh))
+ (atomic_read(&bh->b_count) > 1 || buffer_locked(bh))
/*
* The functions for minix V1 fs truncation.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)