summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJason Liu <jason.hui@linaro.org>2011-12-14 18:49:30 +0800
committerJason Liu <r64343@freescale.com>2012-01-09 21:09:59 +0800
commitdea21e28f09d1d6ee068f9bb35d53883e8f1c181 (patch)
tree5487aead6f38ed8732e662499a3c7d815b0188f7 /fs
parent1974fee6ef170ac2d14c29e5715e0c1f48cae181 (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),