diff options
Diffstat (limited to 'fs/sysv/truncate.c')
-rw-r--r-- | fs/sysv/truncate.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |