diff options
author | Theodore Ts'o <tytso@mit.edu> | 2008-08-01 20:57:54 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-08-01 20:57:54 -0400 |
commit | 0123c93998511978556b03d2bb023af92aa24d55 (patch) | |
tree | ec01472f1c23b046fe25c1c2b4e2d4d054a5d163 /fs/coda/coda_linux.c | |
parent | d5a0d4f732af3438e592efab4cb80076d1dd81b5 (diff) |
ext4: Fix ext4_ext_journal_restart()
The ext4_ext_journal_restart() is a convenience function which checks
to see if the requested number of credits is present, and if so it
closes the current transaction and attaches the current handle to the
new transaction. Unfortunately, it wasn't proprely checking the
return value from ext4_journal_extend(), so it was starting a new
transaction when one was not necessary, and returning an error when
all that was necessary was to restart the handle with a new
transaction.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/coda/coda_linux.c')
0 files changed, 0 insertions, 0 deletions