Re: [git pull] vfs fixes

From: Al Viro
Date: Sun Mar 30 2014 - 16:56:32 EST


On Sun, Mar 30, 2014 at 09:33:07PM +0100, Al Viro wrote:
> Al, finally back to life and digging himself from under ~5e3 mails in l-k
> mailbox...

Several fixes; a couple of fdget_pos()-related ones from Eric Biggers,
prepend_name() fix (bug was reported by many people, Imre and Jan being the
ones I'd been able to find addresses of), plus a series of fixes for bug
found by Max Kellermann - missing checks for false negatives from
__lookup_mnt() in fs/namei.c + switching mnt_hash to hlist, turning
the races between __lookup_mnt() and hash modifications into
false negatives from __lookup_mnt() (instead of hangs).

Please, pull from the usual place -
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus

Commit ID of that branch should be 7fc5aaa083922420e2dec5d985420cb5f959b1ce;
diffs are the same as what sat there since last Sunday, commit messages
got updated a bit. Should've propagated by now...

Shortlog:
Al Viro (6):
make prepend_name() work correctly when called with negative *buflen
rcuwalk: recheck mount_lock after mountpoint crossing attempts
resizable namespace.c hashes
keep shadowed vfsmounts together
don't bother with propagate_mnt() unless the target is shared
switch mnt_hash to hlist

Eric Biggers (2):
vfs: atomic f_pos access in llseek()
vfs: Don't let __fdget_pos() get FMODE_PATH files

Diffstat:
fs/dcache.c | 4 +-
fs/file.c | 19 ++----
fs/mount.h | 4 +-
fs/namei.c | 29 ++++-----
fs/namespace.c | 177 ++++++++++++++++++++++++++++++++++++-------------------
fs/pnode.c | 26 ++++----
fs/pnode.h | 4 +-
fs/read_write.c | 4 +-
8 files changed, 155 insertions(+), 112 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/