[PATCH] reiserfs: fix transaction overflowing
authorAlexander Zarochentzev <zam@namesys.com>
Sat, 25 Mar 2006 11:06:57 +0000 (03:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:22:51 +0000 (08:22 -0800)
commit23f9e0f891c9b159a199629d4426f6ae0c383508
treebc34ab7abe6de4d7b3a7741c1ab5d97ddc29f133
parentbdfc326614b90e7bc47ee4a8fed05988555f0169
[PATCH] reiserfs: fix transaction overflowing

This patch fixes a bug in reiserfs truncate.  A transaction might overflow
when truncating long highly fragmented file.  The fix is to split
truncation into several transactions to avoid overflowing.

Signed-off-by: Vladimir V. Saveliev <vs@namesys.com>
Cc; Charles McColgan <cm@chuck.net>
Cc: Alexander Zarochentsev <zam@namesys.com>
Cc: Hans Reiser <reiser@namesys.com>
Cc: Chris Mason <mason@suse.com>
Cc: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/reiserfs/stree.c
include/linux/reiserfs_fs.h