commit | d012aa5965160a39b24a4b41139a322f681cdfd7 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Mon Jun 08 12:40:39 2015 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Jun 08 12:40:39 2015 -0400 |
tree | 0dddca2dd998788c9fe4487654338bb4f5a13e6d | |
parent | ee57aba159a5c329dc78c181a3ae0549e59f0925 [diff] |
jbd2: simplify error path on allocation failure in do_get_write_access() We were acquiring bh_state_lock when allocation of buffer failed in do_get_write_access() only to be able to jump to a label that releases the lock and does all other checks that don't make sense for this error path. Just jump into the right label instead. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu>