[GIT PULL] afs: Miscellaneous fixes
From: David Howells
Date: Wed Jul 21 2021 - 10:26:30 EST
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 file
position rather than a page index[4].
Changes
=======
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.stgit@xxxxxxxxxxxxxxxxxxxxxx/ [1]
Link: https://lore.kernel.org/r/20210430155031.3287870-1-trix@xxxxxxxxxx [2]
Link: https://lore.kernel.org/r/1619691492-83866-1-git-send-email-jiapeng.chong@xxxxxxxxxxxxxxxxx [3]
Link: https://lore.kernel.org/r/CAB9dFdvHsLsw7CMnB+4cgciWDSqVjuij4mH3TaXnHQB8sz5rHw@xxxxxxxxxxxxxx/ [4]
Link: https://lore.kernel.org/r/162609463116.3133237.11899334298425929820.stgit@xxxxxxxxxxxxxxxxxxxxxx/ # v1
Link: https://lore.kernel.org/r/162610726011.3408253.2771348573083023654.stgit@xxxxxxxxxxxxxxxxxxxxxx/ # v2
---
The following changes since commit e73f0f0ee7541171d89f2e2491130c7771ba58d3:
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(-)