NFS: Relax requirements in nfs_flush_incompatible
[linux-drm-fsl-dcu.git] / fs / nfs / pagelist.c
index 452a011ba0d8a33e9e4b9afd858f82858185f57e..c3a78450a2395fa6423450cfd73651527ea45753 100644 (file)
@@ -903,12 +903,6 @@ static void nfs_pageio_cleanup_mirroring(struct nfs_pageio_descriptor *pgio)
        pgio->pg_mirrors_dynamic = NULL;
 }
 
-static bool nfs_match_open_context(const struct nfs_open_context *ctx1,
-               const struct nfs_open_context *ctx2)
-{
-       return ctx1->cred == ctx2->cred && ctx1->state == ctx2->state;
-}
-
 static bool nfs_match_lock_context(const struct nfs_lock_context *l1,
                const struct nfs_lock_context *l2)
 {