OSDN Git Service

ocfs2: fix NULL pointer dereference in ocfs2_duplicate_clusters_by_page
[uclinux-h8/linux.git] / fs / ocfs2 / aops.c
index 79736a2..2abf97b 100644 (file)
@@ -1757,7 +1757,7 @@ try_again:
                goto out;
        } else if (ret == 1) {
                clusters_need = wc->w_clen;
-               ret = ocfs2_refcount_cow(inode, filp, di_bh,
+               ret = ocfs2_refcount_cow(inode, di_bh,
                                         wc->w_cpos, wc->w_clen, UINT_MAX);
                if (ret) {
                        mlog_errno(ret);