summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJason Liu <jason.hui@linaro.org>2011-12-14 18:49:30 +0800
committerNitin Garg <nitin.garg@freescale.com>2014-06-03 21:46:52 -0500
commit446b36671cb82c328a26ae982bf06158041f11ac (patch)
tree154c5a8eee2c1b0dfef6e43d69da0191cd12331c /fs
parent3d57849111aed13ad1c5ee26d7408398179778a3 (diff)
fix build error
Signed-off-by: Jason Liu <jason.hui@linaro.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/fs-writeback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index 5df6157e5bce..3bab832a44f2 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -1083,7 +1083,7 @@ void __mark_inode_dirty(struct inode *inode, int flags)
bool wakeup_bdi = false;
bdi = inode_to_bdi(inode);
if (!bdi)
- goto out;
+ goto out_unlock_inode;
if (bdi_cap_writeback_dirty(bdi)) {
WARN(!test_bit(BDI_registered, &bdi->state),