From: Miklos Szeredi Date: Fri, 8 Jul 2005 00:57:24 +0000 (-0700) Subject: [PATCH] namespace.c: cleanup in mark_mounts_for_expiry() X-Git-Tag: v2.6.13-rc3~220 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4d70278610e6bebe44a7b59a469fe7391387da6;p=pandora-kernel.git [PATCH] namespace.c: cleanup in mark_mounts_for_expiry() This patch simplifies mark_mounts_for_expiry() by using detach_mnt() instead of duplicating everything it does. It should be an equivalent transformation except for righting the dput/mntput order. Al Viro said: "Looks sane". Signed-off-by: Miklos Szeredi Cc: Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed