From patchwork Tue Nov 17 11:52:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Layton X-Patchwork-Id: 7636611 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F3E20BF90C for ; Tue, 17 Nov 2015 11:55:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3A4E6204EA for ; Tue, 17 Nov 2015 11:55:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6FE9B204E2 for ; Tue, 17 Nov 2015 11:55:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753013AbbKQLzJ (ORCPT ); Tue, 17 Nov 2015 06:55:09 -0500 Received: from mail-qk0-f182.google.com ([209.85.220.182]:35579 "EHLO mail-qk0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753389AbbKQLxY (ORCPT ); Tue, 17 Nov 2015 06:53:24 -0500 Received: by qkao63 with SMTP id o63so1674639qka.2 for ; Tue, 17 Nov 2015 03:53:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=poochiereds_net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=5irxEbBkSumDznNDlEYD2d38X5lAmtz6Froz2YNOWkI=; b=XnDLvp5l6sqMhvgKzo6obkgcQGNRkRH5ksDXak3Ak2QZozSA+7YG0YaDOnMn8nNvL3 5eQjXM+EKGNNCz7zbKEOlZXLCcQFEmYfvdGyaveuEe5ajOusTfQ+y5MEIIiBYDEpg1i1 BoLWctyQEDM5zzB1rfIbdP4UwroQcTc+hEgvhwZcHIgjRp+jaXUIG/n06kuGjGKWVojW becizljHDuHGOhaUKuS8VpXv8lCeSiKN/NGx8Wbv1KomsGxqnrEzeL61wvXrcmqL+odf iceaXaaYHpeWRFc2U21b6Ko9iU3w36g8ZLC0WaRlDtv4QLekJFXx0l3t//3wGkqriQdU 0OWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=5irxEbBkSumDznNDlEYD2d38X5lAmtz6Froz2YNOWkI=; b=i0USGB8JJdGAlqWyCweXxMVuTddoHrGCa3zh9mEGgxig09IDd/aObMPKHHtWoN0RtX DUd49Q0fN4XBj8/MTVJabB2qw1YfIGhDwl7hIkFW3XkK9woDakvRs7AJS+26PB7q3Q1/ +4Lf9pJceot+CZTSjqyalFXperaDIgm8cjkfwmTTA8hItPWoBDicX11yWKlxamunskJu GQEBmqEVz7L8eS5/r0MfMTGx0abBJVbjTE0yJvty9Zr+anUFdGNChCtRuht8/VpUUngW HPOqxjBi2k5jhjVA7aQk/xhsqbF/ORC+Ztjg3ZgdNfaIU1In6ApzJ6QHdR9dGsuk6Yww 80Rg== X-Gm-Message-State: ALoCoQk1WKuN9+2pT3LCRGjI8FjnRlBnHkajQFBiTNKWLEEk3YBgDVIe6j9ezbssyfq2+sj4b2xk X-Received: by 10.55.71.137 with SMTP id u131mr40503795qka.40.1447761203672; Tue, 17 Nov 2015 03:53:23 -0800 (PST) Received: from tlielax.poochiereds.net ([2606:a000:1125:4075::d5a]) by smtp.googlemail.com with ESMTPSA id w10sm1583910qhc.16.2015.11.17.03.53.22 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 Nov 2015 03:53:23 -0800 (PST) From: Jeff Layton X-Google-Original-From: Jeff Layton To: bfields@fieldses.org, trond.myklebust@primarydata.com Cc: linux-nfs@vger.kernel.org, Eric Paris , Alexander Viro , linux-fsdevel@vger.kernel.org Subject: [PATCH v1 06/38] fsnotify: fix a sparse warning Date: Tue, 17 Nov 2015 06:52:28 -0500 Message-Id: <1447761180-4250-7-git-send-email-jeff.layton@primarydata.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1447761180-4250-1-git-send-email-jeff.layton@primarydata.com> References: <1447761180-4250-1-git-send-email-jeff.layton@primarydata.com> Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Jeff Layton --- fs/notify/fdinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/notify/fdinfo.c b/fs/notify/fdinfo.c index fd98e5100cab..0c76916e42f0 100644 --- a/fs/notify/fdinfo.c +++ b/fs/notify/fdinfo.c @@ -48,7 +48,7 @@ static void show_mark_fhandle(struct seq_file *m, struct inode *inode) f.handle.handle_bytes = sizeof(f.pad); size = f.handle.handle_bytes >> 2; - ret = exportfs_encode_inode_fh(inode, (struct fid *)f.handle.f_handle, &size, 0); + ret = exportfs_encode_inode_fh(inode, (struct fid *)f.handle.f_handle, &size, NULL); if ((ret == FILEID_INVALID) || (ret < 0)) { WARN_ONCE(1, "Can't encode file handler for inotify: %d\n", ret); return;