Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm...
[~shefty/rdma-dev.git] / fs / nfs / inode.c
index ce2b039..468ba8b 100644 (file)
@@ -694,10 +694,7 @@ static void __put_nfs_open_context(struct nfs_open_context *ctx, int is_sync)
        if (ctx->cred != NULL)
                put_rpccred(ctx->cred);
        dput(ctx->dentry);
-       if (is_sync)
-               nfs_sb_deactive(sb);
-       else
-               nfs_sb_deactive_async(sb);
+       nfs_sb_deactive(sb);
        kfree(ctx->mdsthreshold);
        kfree(ctx);
 }