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]
/
drivers
/
usb
/
gadget
/
inode.c
diff --git
a/drivers/usb/gadget/inode.c
b/drivers/usb/gadget/inode.c
index 5c40980a5bd94f263e3f7618dff22a96896fa9c1..c6c279de832e40920fd58d0a36ba403b93fbb541 100644
(file)
--- a/
drivers/usb/gadget/inode.c
+++ b/
drivers/usb/gadget/inode.c
@@
-1562,10
+1562,10
@@
restart:
spin_unlock_irq (&dev->lock);
/* break link to dcache */
-
down (&parent->i_sem
);
+
mutex_lock (&parent->i_mutex
);
d_delete (dentry);
dput (dentry);
-
up (&parent->i_sem
);
+
mutex_unlock (&parent->i_mutex
);
/* fds may still be open */
goto restart;
This page took
0.024182 seconds
and
5
git commands to generate.