diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-07-07 17:57:24 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-07 18:23:51 -0700 |
commit | a4d70278610e6bebe44a7b59a469fe7391387da6 (patch) | |
tree | 936ff611c40a3e1e3027f548e31ef312ca104fab /fs/nfsd/nfs4state.c | |
parent | 1ce88cf466f7b6078b14d67d186a3d7c19dd5609 (diff) |
[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 'fs/nfsd/nfs4state.c')
0 files changed, 0 insertions, 0 deletions