ext4: add more error checks to ext4_mkdir()
authorNamhyung Kim <namhyung@gmail.com>
Mon, 10 Jan 2011 17:11:16 +0000 (12:11 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Jan 2011 17:11:16 +0000 (12:11 -0500)
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 <namhyung@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

No differences found