Files
linux/fs/ocfs2
alex chen 5da43e877e ocfs2: do not put bh when buffer_uptodate failed
commit f7cf4f5bfe upstream.

Do not put bh when buffer_uptodate failed in ocfs2_write_block and
ocfs2_write_super_or_backup, because it will put bh in b_end_io.
Otherwise it will hit a warning "VFS: brelse: Trying to free free
buffer".

Signed-off-by: Alex Chen <alex.chen@huawei.com>
Reviewed-by: Joseph Qi <joseph.qi@huawei.com>
Reviewed-by: Srinivas Eeda <srinivas.eeda@oracle.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Acked-by: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-06 07:55:32 -07:00
..
2013-02-27 19:10:19 -08:00
2014-05-06 07:55:32 -07:00
2013-05-07 20:16:25 -07:00
2013-05-07 18:38:27 -07:00
2014-03-23 21:38:09 -07:00
2013-05-07 20:16:25 -07:00
2013-02-26 02:46:10 -05:00
2014-03-23 21:38:09 -07:00
2012-01-04 08:56:31 -06:00
2012-05-29 23:28:40 -04:00
2012-01-03 22:55:02 -05:00