jfs: Fix error handling in metapage_writepage()
commit1ad53a98c927a9b5b1b57288ac0edec562fbcf8d
authorDave Kleikamp <shaggy@linux.vnet.ibm.com>
Fri, 30 Jan 2009 20:09:06 +0000 (30 14:09 -0600)
committerDave Kleikamp <shaggy@linux.vnet.ibm.com>
Fri, 30 Jan 2009 20:09:06 +0000 (30 14:09 -0600)
treef8de5c192927fd2594437018a6489798dbafcbed
parentb5c816a4f177604ae708892bba074b1d534fcbee
jfs: Fix error handling in metapage_writepage()

Improved error handling so that last_write_complete(), and thus
end_page_writeback(), gets called only once.

Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Reported-by: Eric Sesterhenn <snakebyte@gmx.de>
fs/jfs/jfs_metapage.c