diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2014-12-29 13:03:41 -0600 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2015-04-09 11:39:54 -0500 |
commit | 7bdb11de8ee4f4ae195e2fa19efd304e0b36c63b (patch) | |
tree | 2ee3fe90e5ac72a2b36c91947b38c3e6da9a9012 /COPYING | |
parent | cd4a40174b71acd021877341684d8bb1dc8ea4ae (diff) | |
download | op-kernel-dev-7bdb11de8ee4f4ae195e2fa19efd304e0b36c63b.zip op-kernel-dev-7bdb11de8ee4f4ae195e2fa19efd304e0b36c63b.tar.gz |
mnt: Factor out unhash_mnt from detach_mnt and umount_tree
Create a function unhash_mnt that contains the common code between
detach_mnt and umount_tree, and use unhash_mnt in place of the common
code. This add a unncessary list_del_init(mnt->mnt_child) into
umount_tree but given that mnt_child is already empty this extra
line is a noop.
Cc: stable@vger.kernel.org
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions