patch-2.3.30 linux/fs/sysv/truncate.c
Next file: linux/fs/udf/dir.c
Previous file: linux/fs/sysv/symlink.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Nov 27 15:27:49 1999
- Orig file:
v2.3.29/linux/fs/sysv/truncate.c
- Orig date:
Tue Jun 29 09:22:08 1999
diff -u --recursive --new-file v2.3.29/linux/fs/sysv/truncate.c linux/fs/sysv/truncate.c
@@ -36,7 +36,7 @@
*/
#define DATA_BUFFER_USED(bh) \
- (atomic_read(&bh->b_count) || buffer_locked(bh))
+ (atomic_read(&bh->b_count)>1 || buffer_locked(bh))
/* We throw away any data beyond inode->i_size. */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)