[git pull] vfs fixes

From: Al Viro
Date: Sun Mar 23 2014 - 03:16:18 EST

Several fixes; first 4 commits are obvious fixes (a couple
of fdget_pos()-related ones from Eric Biggers, prepend_name() fix, missing
checks for false negatives from __lookup_mnt() in fs/namei.c), followed
by 4 commits dealing with the bug found by Max last week - switch of
mnt_hash to hlist, to avoid the fun with non-terminating __lookup_mnt().
I'm fairly comfortable with that pile, but whether its second part is OK
at this point is up to you; it seems to survive everything I'd thrown
at it, and it's quite straightforward. If you really feel that it's
too close to -final, well... alternative variant is to replace the last
4 with "if we are spinning too much in __lookup_mnt(), check mount_lock"
kludge like the one I've posted early in the "don't clobber mnt_hash.next"
thread. I'd rather go for "let's just use hlist", obviously...

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus

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

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/