mnt: Clear mnt_expire during pivot_root
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 8 Oct 2014 17:42:57 +0000 (10:42 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 2 Dec 2014 16:46:51 +0000 (10:46 -0600)
commit4fed655c410cc56add64c7b1f7c85c7c56066ac2
tree12a2492809350546bb88dce594248aa27c0f4730
parent381cacb12c009864993a072eedcc0720315aedbd
mnt: Clear mnt_expire during pivot_root

When inspecting the pivot_root and the current mount expiry logic I
realized that pivot_root fails to clear like mount move does.

Add the missing line in case someone does the interesting feat of
moving an expirable submount.  This gives a strong guarantee that root
of the filesystem tree will never expire.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/namespace.c