Message ID | 1415913813-362-30-git-send-email-pieter@boesman.nl |
---|---|
State | Rejected |
Headers | show
Return-Path: <linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4D8481400A0 for <incoming@patchwork.ozlabs.org>; Fri, 14 Nov 2014 08:32:23 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xp1yf-0004u4-UU; Thu, 13 Nov 2014 21:30:53 +0000 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xp1yd-0004kI-H7 for linux-mtd@lists.infradead.org; Thu, 13 Nov 2014 21:30:52 +0000 Received: by mail-wi0-f182.google.com with SMTP id h11so899971wiw.9 for <linux-mtd@lists.infradead.org>; Thu, 13 Nov 2014 13:30:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=9bf2dIDEFYG3B691k4bmhnR3Y4QpF143erUJAuMKGAI=; b=x+bJh3aj4EWgMx4ZhDWPJxvz8FkFdscwF5NPGSoLwLgK8PzPN/JYrh1Dq4fRcwVxHw nG/cTscTtYtI07QtIC6ON2wpTsIkdiEw9EmFZrH2KL9N8FsI4yDiRwiMMGHvZ7Yca/uU vgU+4LZkN04TVlTtLr44j6vHblevA71PzHZOBZgd/ht8IWsfFlozHbn8hitiYYRLdlR0 61qg7JkRZI30qd61oi4uAI3OUkp32c5qA3YmZ4V5u5Sv624wg7zsppnxmGeWS7zpX1Qa Poyn6VgmHgHkGJpfBcemvto/EtU1w43obEDNyB6mHhUCmFX4dEVw17J3NjGIZdzQIKUZ W9aw== X-Received: by 10.194.94.132 with SMTP id dc4mr8046332wjb.56.1415914228713; Thu, 13 Nov 2014 13:30:28 -0800 (PST) Received: from localhost.localdomain (ip4da2e5c1.direct-adsl.nl. [77.162.229.193]) by mx.google.com with ESMTPSA id i3sm865525wix.0.2014.11.13.13.30.27 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 13 Nov 2014 13:30:28 -0800 (PST) From: Pieter Smith <pieter@boesman.nl> To: pieter@boesman.nl Subject: [PATCH 29/56] fs/jffs2: support compiling out splice Date: Thu, 13 Nov 2014 22:23:06 +0100 Message-Id: <1415913813-362-30-git-send-email-pieter@boesman.nl> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1415913813-362-1-git-send-email-pieter@boesman.nl> References: <pieter@boesman.nl> <1415913813-362-1-git-send-email-pieter@boesman.nl> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141113_133051_813479_B244495F X-CRM114-Status: UNSURE ( 9.30 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.4 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c05:0:0:0:236 listed in] [list.dnswl.org] 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (smipi01[at]gmail.com) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (smipi01[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different Cc: "open list:JOURNALLING FLASH..." <linux-mtd@lists.infradead.org>, David Woodhouse <dwmw2@infradead.org>, Josh Triplett <josh@joshtriplett.org>, open list <linux-kernel@vger.kernel.org> X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Linux MTD discussion mailing list <linux-mtd.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mtd/> List-Post: <mailto:linux-mtd@lists.infradead.org> List-Help: <mailto:linux-mtd-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" <linux-mtd-bounces@lists.infradead.org> Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
diff --git a/fs/jffs2/file.c b/fs/jffs2/file.c index 64989ca..bb4e88b 100644 --- a/fs/jffs2/file.c +++ b/fs/jffs2/file.c @@ -58,7 +58,7 @@ const struct file_operations jffs2_file_operations = .unlocked_ioctl=jffs2_ioctl, .mmap = generic_file_readonly_mmap, .fsync = jffs2_fsync, - .splice_read = generic_file_splice_read, + SPLICE_READ_INIT(generic_file_splice_read) }; /* jffs2_file_inode_operations */
Compile out splice support from jffs2 when the splice-family of syscalls is not supported by the system (i.e. CONFIG_SYSCALL_SPLICE is undefined). Signed-off-by: Pieter Smith <pieter@boesman.nl> --- fs/jffs2/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)