Bug 1899
Summary: | Invalid data on used disk space with NTFS | ||
---|---|---|---|
Product: | File System | Reporter: | Haakon Riiser (bugzilla) |
Component: | Other | Assignee: | Anton Altaparmakov (aia21) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | ||
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.1 | Subsystem: | |
Regression: | --- | Bisected commit-id: |
Description
Haakon Riiser
2004-01-17 16:49:50 UTC
Hi, Thanks for the bug report. I have fixed this in NTFS 2.1.6 release which I just submitted to Linus. Until it is accepted, you can fix it in your source tree by editing fs/ntfs/inode.c and changing line 1049 from: if (!NInoCompressed(ni)) vi->i_blocks = ni->allocated_size >> 9; ... to if (S_ISDIR(vi->i_mode) || !NInoCompressed(ni)) vi->i_blocks = ni->allocated_size >> 9; ... Best regards, Anton Altaparmakov NTFS maintainer |