From 33263fc5f9ac8e8cb2b22d06af3ce5ac1dd815e4 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Fri, 4 Feb 2000 07:40:19 +0000 Subject: Merge with Linux 2.3.32. --- fs/sysv/truncate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/sysv/truncate.c') diff --git a/fs/sysv/truncate.c b/fs/sysv/truncate.c index db0f72506..32bfccf6d 100644 --- a/fs/sysv/truncate.c +++ b/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. */ -- cgit v1.2.3