projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem
[deliverable/linux.git]
/
fs
/
autofs
/
root.c
diff --git
a/fs/autofs/root.c
b/fs/autofs/root.c
index a1ab1c0ed21584ba5a6a0cb5195f2e89c505e7bd..808134a5a2fa63896bc4349415f478aaf440d1ad 100644
(file)
--- a/
fs/autofs/root.c
+++ b/
fs/autofs/root.c
@@
-229,9
+229,9
@@
static struct dentry *autofs_root_lookup(struct inode *dir, struct dentry *dentr
dentry->d_flags |= DCACHE_AUTOFS_PENDING;
d_add(dentry, NULL);
-
up(&dir->i_sem
);
+
mutex_unlock(&dir->i_mutex
);
autofs_revalidate(dentry, nd);
-
down(&dir->i_sem
);
+
mutex_lock(&dir->i_mutex
);
/*
* If we are still pending, check if we had to handle
This page took
0.023877 seconds
and
5
git commands to generate.