Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5726739pxv; Wed, 21 Jul 2021 12:24:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxG//YeJxr9meBO5ZWSMIMT84olYfS+FbtXQd9Fhm17P3KCLH0FqVLlrGGzP5WCskXkeSu8 X-Received: by 2002:a6b:e602:: with SMTP id g2mr27096471ioh.50.1626895451376; Wed, 21 Jul 2021 12:24:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626895451; cv=none; d=google.com; s=arc-20160816; b=gIwIeh7HG/OelwAG5UwuFx4FwqJRJw+vWZZBAq/UaXHG3z7rhN2JCyaWhQEBS6sbm0 5mvP7cX4kQOiQnuNKY6/jrzWwYC/bf3O3VwA4PbWUHTGkjBKq4Ouv+XMFgBqTyfycDWy YfBOBOh4HOa/gWrqRFtox2DziEQXHHSRfxYZX1NFYUCugD53Ytvwj/XUj8p28MjmRtC/ p5D2OvOVuGPu00N4iGsRtPafMotjbB26gDCqCbys37fuBvvEjXmoB631QHqcu5LFuU5b AqhaQvP4FDXOxpoDcwukaXy6GxuOphN3q76I/t4gwGuqF55Ug+enrVNR32qeQ1WV0EN5 5bww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-transfer-encoding :content-id:mime-version:subject:cc:to:from:organization :dkim-signature; bh=qxdAEr2YRqU2Aqy0XvfKttwJTSza/9Yda5xfUDXe0eg=; b=Wt0NmkvnRdKkDmzbafUPhzz0PNRuzQ28pjPDhkpJoY7fvfKJOsY8uE6Rhy26jRzn9C wTnJ1R9ahBQSdzevyecgbAbTQADIMb8W3zhy1Qc+VE+s17Pwsn0GPbMRl8YbWKjKS8Ce CAfjC+Uw7VNdx7nLeM4YHoo6mgVShmT3Rf7ktMnWXgbmNtGmZDjLONQj0eZQfQvhLlR0 wNfeWR9SnBJU3SZbtTh/vRHTNtb6tRF8QP/xCBpvWP0FMV1OSA4UoPsBK21t1Zxvj6CF ordv/LpEoN9zULAN7FmeuA+Wow/xevFnzViodEa2LTzK0fIqdSRMyO2FAQ0plnJAG064 IE3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fFBZcncj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d9si9557002ila.112.2021.07.21.12.23.59; Wed, 21 Jul 2021 12:24:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fFBZcncj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239246AbhGUNpv (ORCPT + 99 others); Wed, 21 Jul 2021 09:45:51 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:31359 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239331AbhGUNmN (ORCPT ); Wed, 21 Jul 2021 09:42:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626877336; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qxdAEr2YRqU2Aqy0XvfKttwJTSza/9Yda5xfUDXe0eg=; b=fFBZcncjK+39eEXGb2OLY+8arbmJzfUnBp7H1f6NDmxoLpEOYvl35UQWHd1gI1LGq/1guX rJaxFCTYr/7A5N3yia9HgbxfL//ryd0BU64afqzPN6MNbRe0SjiOpf9IAarVQPHe8aiII1 b3NZ/nMcmWQqzhcoHjRdYjf7jeeMN1o= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-41-xax8cnLwMW-3dri9F1qkGw-1; Wed, 21 Jul 2021 10:22:13 -0400 X-MC-Unique: xax8cnLwMW-3dri9F1qkGw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1ACCE3E743; Wed, 21 Jul 2021 14:22:11 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-112-62.rdu2.redhat.com [10.10.112.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id A1F715D9DD; Wed, 21 Jul 2021 14:22:07 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells To: torvalds@linux-foundation.org cc: dhowells@redhat.com, linux-afs@lists.infradead.org, "Steven Rostedt (VMware)" , Tom Rix , Marc Dionne , "Alexey Dobriyan (SK hynix)" , Jiapeng Chong , Abaci Robot , Andrew Morton , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] afs: Miscellaneous fixes MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <281334.1626877326.1@warthog.procyon.org.uk> Content-Transfer-Encoding: quoted-printable Date: Wed, 21 Jul 2021 15:22:06 +0100 Message-ID: <281335.1626877326@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Can you pull these miscellaneous fixes for afs please? (1) Fix a tracepoint that causes one of the tracing subsystem query files to crash if the module is loaded[1]. (2) Fix afs_writepages() to take account of whether the storage rpc actually succeeded when updating the cyclic writeback counter[2]. (3) Fix some error code propagation/handling[3]. (4) Fix place where afs_writepages() was setting writeback_index to a fil= e position rather than a page index[4]. Changes =3D=3D=3D=3D=3D=3D=3D ver #2: - Fix an additional case of afs_writepages() setting writeback_index on error[4]. - Fix afs_writepages() setting writeback_index to a file pos[4]. Thanks, David Link: https://lore.kernel.org/r/162430903582.2896199.6098150063997983353.s= tgit@warthog.procyon.org.uk/ [1] Link: https://lore.kernel.org/r/20210430155031.3287870-1-trix@redhat.com [= 2] Link: https://lore.kernel.org/r/1619691492-83866-1-git-send-email-jiapeng.= chong@linux.alibaba.com [3] Link: https://lore.kernel.org/r/CAB9dFdvHsLsw7CMnB+4cgciWDSqVjuij4mH3TaXnH= QB8sz5rHw@mail.gmail.com/ [4] Link: https://lore.kernel.org/r/162609463116.3133237.11899334298425929820.= stgit@warthog.procyon.org.uk/ # v1 Link: https://lore.kernel.org/r/162610726011.3408253.2771348573083023654.s= tgit@warthog.procyon.org.uk/ # v2 --- The following changes since commit e73f0f0ee7541171d89f2e2491130c7771ba58d= 3: Linux 5.14-rc1 (2021-07-11 15:07:40 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags= /afs-fixes-20210721 for you to fetch changes up to b428081282f85db8a0d4ae6206a8c39db9c8341b: afs: Remove redundant assignment to ret (2021-07-21 15:11:22 +0100) ---------------------------------------------------------------- AFS fixes ---------------------------------------------------------------- David Howells (2): afs: Fix tracepoint string placement with built-in AFS afs: Fix setting of writeback_index Jiapeng Chong (1): afs: Remove redundant assignment to ret Tom Rix (1): afs: check function return fs/afs/cmservice.c | 25 +++++------------ fs/afs/dir.c | 10 ++++--- fs/afs/write.c | 18 ++++++++----- include/trace/events/afs.h | 67 +++++++++++++++++++++++++++++++++++++++++= +---- 4 files changed, 87 insertions(+), 33 deletions(-)