Commit ca17ebb8 authored by Thomas Gleixner's avatar Thomas Gleixner

affs: use semaphore_init instead of init_MUTEX

The usage of these "mutex" is non obvious and probably a completion
in some places. Make it them semaphores.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
parent 16de2e0a
......@@ -113,8 +113,8 @@ static void init_once(void *foo)
{
struct affs_inode_info *ei = (struct affs_inode_info *) foo;
init_MUTEX(&ei->i_link_lock);
init_MUTEX(&ei->i_ext_lock);
semaphore_init(&ei->i_link_lock);
semaphore_init(&ei->i_ext_lock);
inode_init_once(&ei->vfs_inode);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment