ocfs2: do not fallback to buffer I/O write if appending
[firefly-linux-kernel-4.4.55.git] / fs / ocfs2 / inode.c
index c8b25de9efbbf93217480059fdca6f44e7513d56..3025c0da6b8abd6358a60581087a257dd4f24e6f 100644 (file)
@@ -648,7 +648,7 @@ static int ocfs2_remove_inode(struct inode *inode,
 
        if (!(OCFS2_I(inode)->ip_flags & OCFS2_INODE_SKIP_ORPHAN_DIR)) {
                status = ocfs2_orphan_del(osb, handle, orphan_dir_inode, inode,
-                                         orphan_dir_bh);
+                                         orphan_dir_bh, false);
                if (status < 0) {
                        mlog_errno(status);
                        goto bail_commit;