autofs4: cleanup expire code duplication
authorIan Kent <raven@themaw.net>
Tue, 31 Mar 2009 22:24:43 +0000 (15:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:23 +0000 (08:59 -0700)
commit56fcef75117a153f298b3fe54af31053f53997dd
tree56b7a86c811e5f83c232b0f21c5fcf894795fd42
parent00fcf2cb6f6bb421851c3ba062c0a36760ea6e53
autofs4: cleanup expire code duplication

A significant portion of the autofs_dev_ioctl_expire() and
autofs4_expire_multi() functions is duplicated code.  This patch cleans that
up.

Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/autofs4/autofs_i.h
fs/autofs4/dev-ioctl.c
fs/autofs4/expire.c