From patchwork Sat Apr 14 19:28:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Souptick Joarder X-Patchwork-Id: 10341401 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CEF2F60365 for ; Sat, 14 Apr 2018 19:26:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBDCB28AB0 for ; Sat, 14 Apr 2018 19:26:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AE4DF28AD6; Sat, 14 Apr 2018 19:26:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 610C428AB0 for ; Sat, 14 Apr 2018 19:26:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751624AbeDNT0f (ORCPT ); Sat, 14 Apr 2018 15:26:35 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:35661 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751553AbeDNT0e (ORCPT ); Sat, 14 Apr 2018 15:26:34 -0400 Received: by mail-pl0-f68.google.com with SMTP id 61-v6so7864677plb.2 for ; Sat, 14 Apr 2018 12:26:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=uain9FWrd6o17SKBhHd5fltMv+7nzwArRae5uGYYJ3s=; b=jvMid0ITza9uQmE7QQUhsDDI6fV78UrvQpebQmytsRDCjXJcxAWLx3szTfRM1sqPrE fnERv5aSGztcFLBxZcjwjuZgg9w3gUhooZyOzK0dEgImhpTg9KAc65ABmkQrimyyiEwr /NqjDPSaAnGUmEQUXf3C88gtD+4qnAa8hb/h8Adll6dJLS4NDIm/dYO2tDazIiDvBW0s GUbUqruyPTsQrlCrR4D3qWdx97UmtOPRhiPj4W59NG0QfrlFUkzRgwsKoLzjUNfrM20O 9h2XBry3vU38KBUmqZFaQMiAcwhL8XwI5+XrxGc1MytW2e7EABSym5XbsH/NqtG42xlc theA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=uain9FWrd6o17SKBhHd5fltMv+7nzwArRae5uGYYJ3s=; b=ZFXF4qyOyyZ+bnwkWCOEXqZKIrOL8nvLw1LhkM7URu7BRD1M0R6QKKIGzHof80AYAx ySrgdZaMOSJ1wKZpj8/2C7nbfCzSdTy+3va6t8qqwuSGn8NykTEqvXqpCmTo3j31UcRH Q3uKlUcOx3sc+cHPKrD8U44QR7MoYJfQcitVaJRXtL2/+hsqv1oo13KVcEws27PISHag Jk3h/5xGT+MDOIyMQJccH4e/CW2H3VSFlQIiuDdKo9pl4SgEHRX9jP2cA1H1mClPnJFj P0eUayH9sdpEiLor53SoCO2TeTi0mIWslkZSXBcjyoV7O5Jnri0/xFKneUptJxtRYxZ/ kf3A== X-Gm-Message-State: ALQs6tDY1w1fNEmZacR4g4h+V0MVLTvezagSM+DoL0kBjqK8WuG0z77C bACOwwFKG9qOpSpQ2eXExWFQlkdV X-Google-Smtp-Source: AIpwx4/BD9X3a53AujxkSi95QJA7f3rD6XuyLE4kqsdKfL36xahDQ06neELup2YL9RWtVfm7lDF4RA== X-Received: by 2002:a17:902:aa90:: with SMTP id d16-v6mr9629266plr.189.1523733994014; Sat, 14 Apr 2018 12:26:34 -0700 (PDT) Received: from jordon-HP-15-Notebook-PC ([49.205.218.216]) by smtp.gmail.com with ESMTPSA id x14sm4771374pgq.50.2018.04.14.12.26.32 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 14 Apr 2018 12:26:32 -0700 (PDT) Date: Sun, 15 Apr 2018 00:58:25 +0530 From: Souptick Joarder To: sfrench@samba.org Cc: linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, willy@infradead.org Subject: [PATCH] fs: cifs: Adding new return type vm_fault_t Message-ID: <20180414192825.GA19908@jordon-HP-15-Notebook-PC> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Use new return type vm_fault_t for page_mkwrite handler. Signed-off-by: Souptick Joarder Reviewed-by: Matthew Wilcox --- fs/cifs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/fs/cifs/file.c b/fs/cifs/file.c index 7cee97b..3659878 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c @@ -3463,7 +3463,7 @@ ssize_t cifs_user_readv(struct kiocb *iocb, struct iov_iter *to) * If the page is mmap'ed into a process' page tables, then we need to make * sure that it doesn't change while being written back. */ -static int +static vm_fault_t cifs_page_mkwrite(struct vm_fault *vmf) { struct page *page = vmf->page;