From: David Howells <dhowells@redhat.com>
To: torvalds@linux-foundation.org
Cc: dhowells@redhat.com, linux-afs@lists.infradead.org,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [GIT PULL] afs: Fixes
Date: Mon, 13 Apr 2020 15:50:15 +0100 [thread overview]
Message-ID: <2940559.1586789415@warthog.procyon.org.uk> (raw)
Hi Linus,
Here are some fixes for the afs filesystem:
(1) Fix the decoding of fetched file status records do that in advances
the xdr pointer under all circumstances.
(2) Fix the decoding of a fetched file status record that indicates an
inline abort code (ie. an error) so that it sets the flag saying that
it got an error.
(3) Fix the decoding of the result of the rename operation so that it
doesn't skip the decoding of the second fetched file status (ie. that
of the dest dir) in the case that the source and dest dirs were the
same as this causes the xdr pointer not to be advanced, leading to
incorrect decoding of subsequent parts of the reply.
(4) Fix the dump of a bad YFSFetchStatus record to dump the full length.
(5) Fix a race between local editing of directory contents and accessing
the dir for reading or d_revalidate by using the same lock in both.
(6) Fix afs_d_revalidate() to not accidentally reverse the version on a
dentry when it's meant to be bringing it forward.
David
---
The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136:
Linux 5.7-rc1 (2020-04-12 12:35:55 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/afs-fixes-20200413
for you to fetch changes up to 40fc81027f892284ce31f8b6de1e497f5b47e71f:
afs: Fix afs_d_validate() to set the right directory version (2020-04-13 15:09:01 +0100)
----------------------------------------------------------------
AFS fixes
----------------------------------------------------------------
David Howells (6):
afs: Fix missing XDR advance in xdr_decode_{AFS,YFS}FSFetchStatus()
afs: Fix decoding of inline abort codes from version 1 status records
afs: Fix rename operation status delivery
afs: Fix length of dump of bad YFSFetchStatus record
afs: Fix race between post-modification dir edit and readdir/d_revalidate
afs: Fix afs_d_validate() to set the right directory version
fs/afs/dir.c | 108 +++++++++++++++++++++++++++++++++--------------------
fs/afs/dir_silly.c | 22 +++++++----
fs/afs/fsclient.c | 27 ++++++++------
fs/afs/yfsclient.c | 26 +++++++------
4 files changed, 112 insertions(+), 71 deletions(-)
next reply other threads:[~2020-04-13 14:50 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-13 14:50 David Howells [this message]
2020-04-13 15:13 ` [GIT PULL] afs: Fixes David Howells
2020-04-14 19:05 ` pr-tracker-bot
-- strict thread matches above, loose matches on Subject: below --
2020-10-29 14:07 [GIT PULL] afs fixes David Howells
2020-10-29 17:31 ` pr-tracker-bot
2019-08-22 13:10 [GIT PULL] afs: Fixes David Howells
2019-08-22 18:30 ` pr-tracker-bot
2019-08-14 14:18 David Howells
2019-08-14 22:35 ` pr-tracker-bot
2019-08-14 14:15 David Howells
2019-06-26 13:39 [GIT PULL] AFS fixes David Howells
2019-06-28 0:45 ` pr-tracker-bot
2019-06-26 8:50 David Howells
2019-06-26 13:38 ` David Howells
2019-04-18 9:17 [GIT PULL] afs: Fixes David Howells
2019-04-18 15:20 ` pr-tracker-bot
2018-05-14 21:25 David Howells
2017-11-24 14:22 David Howells
2017-11-25 18:05 ` Linus Torvalds
2017-11-25 22:35 ` David Howells
2017-11-25 22:48 ` Dave Chinner
2017-11-25 22:55 ` Linus Torvalds
2017-11-25 23:19 ` David Howells
2017-03-17 15:29 [GIT PULL] AFS fixes David Howells
2017-03-17 19:23 ` Linus Torvalds
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2940559.1586789415@warthog.procyon.org.uk \
--to=dhowells@redhat.com \
--cc=linux-afs@lists.infradead.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.