diff options
author | Ian Kent <raven@themaw.net> | 2006-03-27 04:14:51 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-27 11:44:40 -0500 |
commit | e3474a8eb38e48dea6690d1fabd75f3c7fd2f93f (patch) | |
tree | 0eb85dea5d7ae7bab9e22b139f5757c67294402e /fs/autofs4/expire.c | |
parent | 90a59c7cf5dd68b41ffab61dd30eba1ef5746e66 (diff) |
[PATCH] autofs4: change may_umount* functions to boolean
Change the functions may_umount and may_umount_tree to boolean functions to
aid code readability.
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/autofs4/expire.c')
-rw-r--r-- | fs/autofs4/expire.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/autofs4/expire.c b/fs/autofs4/expire.c index 6ae2fc8233ff..02a218fbde5f 100644 --- a/fs/autofs4/expire.c +++ b/fs/autofs4/expire.c | |||
@@ -64,7 +64,7 @@ static int autofs4_mount_busy(struct vfsmount *mnt, struct dentry *dentry) | |||
64 | goto done; | 64 | goto done; |
65 | 65 | ||
66 | /* Update the expiry counter if fs is busy */ | 66 | /* Update the expiry counter if fs is busy */ |
67 | if (may_umount_tree(mnt)) { | 67 | if (!may_umount_tree(mnt)) { |
68 | struct autofs_info *ino = autofs4_dentry_ino(top); | 68 | struct autofs_info *ino = autofs4_dentry_ino(top); |
69 | ino->last_used = jiffies; | 69 | ino->last_used = jiffies; |
70 | goto done; | 70 | goto done; |