]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/ocfs2/quota_global.c
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jlbec...
[net-next-2.6.git] / fs / ocfs2 / quota_global.c
index 3cf0ec0acdd59efd4ba990f50f7527b2b41ee433..b437dc0c4caddd814c824822ff93aa48d26afd65 100644 (file)
@@ -253,8 +253,9 @@ ssize_t ocfs2_quota_write(struct super_block *sb, int type,
        flush_dcache_page(bh->b_page);
        set_buffer_uptodate(bh);
        unlock_buffer(bh);
-       ocfs2_set_buffer_uptodate(gqinode, bh);
-       err = ocfs2_journal_access_dq(handle, gqinode, bh, ja_type);
+       ocfs2_set_buffer_uptodate(INODE_CACHE(gqinode), bh);
+       err = ocfs2_journal_access_dq(handle, INODE_CACHE(gqinode), bh,
+                                     ja_type);
        if (err < 0) {
                brelse(bh);
                goto out;