From: Namhyung Kim Date: Mon, 10 Jan 2011 17:11:16 +0000 (-0500) Subject: ext4: add more error checks to ext4_mkdir() X-Git-Tag: v2.6.38-rc1~409^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dabd991f9d8e3232bb4531c920daddac8d10d313;p=pandora-kernel.git ext4: add more error checks to ext4_mkdir() Check return value of ext4_journal_get_write_access, ext4_journal_dirty_metadata and ext4_mark_inode_dirty. Move brelse() under 'out_stop' to release bh properly in case of journal error. Signed-off-by: Namhyung Kim Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed