Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp302052ybi; Thu, 1 Aug 2019 19:25:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqwXp4JrMCfmGZ66Ky0EjnWIquKxzcWXIg3ydLAkLK0FluFISh5oidmMTqBQ4tw63jCLa+Ed X-Received: by 2002:a62:6c1:: with SMTP id 184mr55441537pfg.230.1564712728392; Thu, 01 Aug 2019 19:25:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564712728; cv=none; d=google.com; s=arc-20160816; b=Nb6+xntUmAoK6PjmF5vcWpCEoItCGQz84G2MP9N7ljPutaQiWO1T+ZftBlM0+HGVI9 I8Pg+5UVtJSWyOHB6dWyZJTC32r6yrnygfk/DEPLGp8Ji/wVPDKZh7S0p0KOfLC5clB3 y+7WE/hAHZenFRfy18AUI9Ig7uqroC/Gd8p1GVceNWFg038Q/CIwGMTl95aF00DoDIr5 +aD3H20EE4TtbPExJ0Yec0T/VpOx6zbSI/7KV8QyPnOfAtQGztkHZo2CCsAxHYnYVo/e tR+kIwvgJB4iLErgSQZ9IElNz4DzVM4jQFce7xST/I5XoDzLzb2zIuT254sCYnv8/gyA 6Ozw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=djYM3YakAPLU9xSQQFqZkcuWcnnp8XNGplQ1Nrddv8I=; b=d2plXfFM6o43+MvMGpoyf1Ro1EvifOfVCV2J1YDpZva/tYwfEf42vuKthsN5YN9XoP QeAsDc9tf3XBCGOOfij1HhizloF52O9ZMP8vqx/PquAWkrLL3TioPArPGcRvkaI77r3Y x0Tfq9ct//YvJ69UWIfFve8Iqn7dsEOLJYwg8F0RRoykmI33dRZVSZWSQkp1Cc9r5tdD KI1Fyuqe3NCBSGz6fHYdsFrARNyhehVw+PkShXgltzX5oA9l+NdVOq6vZlWYkPAmOs39 +TaBiq+M2O2LYjlB9McexvAJ3/yKRGLXRA1EHXtcIm/lrW/r2/GrxCG3ETRhOfmBvrmR B9ag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m12si36040323plt.413.2019.08.01.19.25.13; Thu, 01 Aug 2019 19:25:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732871AbfHAWjH (ORCPT + 99 others); Thu, 1 Aug 2019 18:39:07 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:62402 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730344AbfHAWjH (ORCPT ); Thu, 1 Aug 2019 18:39:07 -0400 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x71Mb5Fg098587; Thu, 1 Aug 2019 18:39:05 -0400 Received: from ppma02wdc.us.ibm.com (aa.5b.37a9.ip4.static.sl-reverse.com [169.55.91.170]) by mx0a-001b2d01.pphosted.com with ESMTP id 2u45u86vx8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Aug 2019 18:39:05 -0400 Received: from pps.filterd (ppma02wdc.us.ibm.com [127.0.0.1]) by ppma02wdc.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id x71MZIQ8026850; Thu, 1 Aug 2019 22:39:04 GMT Received: from b03cxnp08028.gho.boulder.ibm.com (b03cxnp08028.gho.boulder.ibm.com [9.17.130.20]) by ppma02wdc.us.ibm.com with ESMTP id 2u0e85w6nt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Aug 2019 22:39:04 +0000 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp08028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x71Md3M359244856 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 1 Aug 2019 22:39:04 GMT Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CAF22787A1; Thu, 1 Aug 2019 22:39:03 +0000 (GMT) Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D51C8787A2; Thu, 1 Aug 2019 22:39:02 +0000 (GMT) Received: from LeoBras.aus.stglabs.ibm.com (unknown [9.18.235.147]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTP; Thu, 1 Aug 2019 22:39:02 +0000 (GMT) From: Leonardo Bras To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Leonardo Bras , Alexander Viro Subject: [PATCH 1/1] fs/splice.c: Fix old documentation about moving pages Date: Thu, 1 Aug 2019 19:38:52 -0300 Message-Id: <20190801223852.16042-1-leonardo@linux.ibm.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-01_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908010238 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit 485ddb4b9741 ("1/2 splice: dont steal")' (2007), the SPLICE_F_MOVE support was removed (became a no-op according to man pages), and thus disabling steal operation that would make moving pages possible. This fixes the comment, making clear pages are not moved. Signed-off-by: Leonardo Bras --- fs/splice.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/splice.c b/fs/splice.c index 14cb602d9a2f..0ba151c40cef 100644 --- a/fs/splice.c +++ b/fs/splice.c @@ -671,8 +671,7 @@ ssize_t splice_from_pipe(struct pipe_inode_info *pipe, struct file *out, * @flags: splice modifier flags * * Description: - * Will either move or copy pages (determined by @flags options) from - * the given pipe inode to the given file. + * Will copy pages from the given pipe inode to the given file. * This one is ->write_iter-based. * */ -- 2.20.1