diff options
author | Jeff Mahoney <jeffm@suse.com> | 2005-12-14 14:38:05 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-12-14 18:56:08 -0800 |
commit | 2499604960fff307fe99ff4d4363c50eaa69235a (patch) | |
tree | 94d329a760e82deb21930c986ca54d479c6c5930 /fs/reiserfs/file.c | |
parent | 5d5e815618c4a8b53806845268c951201d14af6e (diff) | |
download | op-kernel-dev-2499604960fff307fe99ff4d4363c50eaa69235a.zip op-kernel-dev-2499604960fff307fe99ff4d4363c50eaa69235a.tar.gz |
[PATCH] reiserfs: close open transactions on error path
The following patch fixes a bug where if the journal is aborted, it can
leave a transaction open. The result will be a BUG when another code
path attempts to start a transaction and will get a "nesting into
different fs" error, since current->journal_info will be left non-NULL.
Original fix against SUSE kernel by Chris Mason <mason@suse.com>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/reiserfs/file.c')
0 files changed, 0 insertions, 0 deletions