summaryrefslogtreecommitdiffstats
path: root/fs/inode.c
diff options
context:
space:
mode:
authorEvgeniy Dushistov <dushistov@mail.ru>2007-01-29 13:19:55 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-01-30 08:26:45 -0800
commit8682164a66325cab07620082eb7f413b547f4b4a (patch)
treec8e7b5456a71b58506b182ffa0997271d8ec03fa /fs/inode.c
parenta685e26fff387db350966f88eaad515bf41c4705 (diff)
downloadop-kernel-dev-8682164a66325cab07620082eb7f413b547f4b4a.zip
op-kernel-dev-8682164a66325cab07620082eb7f413b547f4b4a.tar.gz
[PATCH] ufs: truncate negative to unsigned fix
During ufs_trunc_direct which is subroutine of ufs::truncate, we try the first of all free parts of block and then whole blocks. But we calculate size of block's part to free in the wrong way. This may cause bad update of used blocks and fragments statistic, and you can got report that you have free 32T on 1Gb partition. Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/inode.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud