ext4: fix ext4_da_write_begin error path
authorEric Sandeen <sandeen@redhat.com>
Sat, 2 Aug 2008 22:51:06 +0000 (18:51 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 2 Aug 2008 22:51:06 +0000 (18:51 -0400)
commitd5a0d4f732af3438e592efab4cb80076d1dd81b5
treef156408767d8f59ecf991b3f71b51531c04d8f06
parente9e34f4e8f42177c66754fec1edfd35e70c18f99
ext4: fix ext4_da_write_begin error path

ext4_da_write_begin needs to call journal_stop before returning,
if the page allocation fails.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Acked-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c