diff options
author | pjd <pjd@FreeBSD.org> | 2007-05-25 22:23:38 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2007-05-25 22:23:38 +0000 |
commit | f9fef47d890708fdf9c930956ec9957d1eb3431e (patch) | |
tree | 771377b46816c640072b1234d5d63b6c3b5f65bd /sys/dev/mmc/mmc.c | |
parent | 29aee808dff1626ff8e4f4cf47d359c598b53403 (diff) | |
download | FreeBSD-src-f9fef47d890708fdf9c930956ec9957d1eb3431e.zip FreeBSD-src-f9fef47d890708fdf9c930956ec9957d1eb3431e.tar.gz |
To avoid a deadlock when handling .. directory during a lookup, we unlock
parent vnode and relock it after locking child vnode. The problem was that
we always relock it exclusively, even when it was share-locked.
Discussed with: jeff
Diffstat (limited to 'sys/dev/mmc/mmc.c')
0 files changed, 0 insertions, 0 deletions