Date: Thu, 8 Jan 2009 12:47:30 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern vfs_extattr.c Message-ID: <200901081247.n08Cll4K013075@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2009-01-08 12:47:30 UTC FreeBSD src repository Modified files: sys/kern vfs_extattr.c Log: SVN rev 186896 on 2009-01-08 12:47:30Z by kib Do not call namei() while having another user-controlled vnode locked. Lookup could attempt to recursively lock that vnode. Do not call vn_start_write(V_WAIT) while vnode is locked, this may result in a deadlock with suspension. vfs_busy() the mountpoint before dropping vnode lock for vnode that was used to look up the mountpoint, to prevent unmount in between. Reported and tested by: pho Reviewed by: rwatson MFC after: 3 weeks Revision Changes Path 1.436 +31 -18 src/sys/kern/vfs_extattr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901081247.n08Cll4K013075>