diff options
author | Ian Kent <raven@themaw.net> | 2006-03-27 01:14:51 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-27 08:44:40 -0800 |
commit | e3474a8eb38e48dea6690d1fabd75f3c7fd2f93f (patch) | |
tree | 0eb85dea5d7ae7bab9e22b139f5757c67294402e /fs/autofs | |
parent | 90a59c7cf5dd68b41ffab61dd30eba1ef5746e66 (diff) | |
download | kernel_goldelico_gta04-e3474a8eb38e48dea6690d1fabd75f3c7fd2f93f.zip kernel_goldelico_gta04-e3474a8eb38e48dea6690d1fabd75f3c7fd2f93f.tar.gz kernel_goldelico_gta04-e3474a8eb38e48dea6690d1fabd75f3c7fd2f93f.tar.bz2 |
[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/autofs')
-rw-r--r-- | fs/autofs/dirhash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/autofs/dirhash.c b/fs/autofs/dirhash.c index 5ccfcf2..3fded38 100644 --- a/fs/autofs/dirhash.c +++ b/fs/autofs/dirhash.c @@ -92,7 +92,7 @@ struct autofs_dir_ent *autofs_expire(struct super_block *sb, ; dput(dentry); - if ( may_umount(mnt) == 0 ) { + if ( may_umount(mnt) ) { mntput(mnt); DPRINTK(("autofs: signaling expire on %s\n", ent->name)); return ent; /* Expirable! */ |