diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-07-08 04:57:24 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-08 05:23:51 +0400 |
commit | a4d70278610e6bebe44a7b59a469fe7391387da6 (patch) | |
tree | 936ff611c40a3e1e3027f548e31ef312ca104fab /drivers/s390 | |
parent | 1ce88cf466f7b6078b14d67d186a3d7c19dd5609 (diff) | |
download | linux-a4d70278610e6bebe44a7b59a469fe7391387da6.tar.xz |
[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 <miklos@szeredi.hu>
Cc: <viro@parcelfarce.linux.theplanet.co.uk>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions