commit | 4f757f3cbf54edef7b75c68d6d6d2f1a0ca08d2e | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Apr 15 17:31:22 2017 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri Apr 21 14:05:36 2017 -0400 |
tree | ea39abd6e1941de602264b24ee18c82f12c01c04 | |
parent | 93893862fb7ba704ec5a6872a294c9cc2b0d4ca3 [diff] |
make sure that mntns_install() doesn't end up with referral for root new flag: LOOKUP_DOWN. If the starting point is overmounted, cross into whatever's mounted on top, triggering referrals et.al. Use that instead of follow_down_one() loop in mntns_install(), handle errors properly. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>