summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2006-10-10 09:20:54 +0000
committerkib <kib@FreeBSD.org>2006-10-10 09:20:54 +0000
commitdc1147adb06ee01012984702aebef6c27b92c7e0 (patch)
treeb21ac1bbb7acef29dace7ac99cf8f176bcc4b0fc /sbin/ifconfig
parentc23de2fec88f3af5873cf8856e1e480b353f63cd (diff)
downloadFreeBSD-src-dc1147adb06ee01012984702aebef6c27b92c7e0.zip
FreeBSD-src-dc1147adb06ee01012984702aebef6c27b92c7e0.tar.gz
Do not translate the IN_ACCESS inode flag into the IN_MODIFIED while filesystem
is suspending/suspended. Doing so may result in deadlock. Instead, set the (new) IN_LAZYACCESS flag, that becomes IN_MODIFIED when suspend is lifted. Change the locking protocol in order to set the IN_ACCESS and timestamps without upgrading shared vnode lock to exclusive (see comments in the inode.h). Before that, inode was modified while holding only shared lock. Tested by: Peter Holm Reviewed by: tegge, bde Approved by: pjd (mentor) MFC after: 3 weeks
Diffstat (limited to 'sbin/ifconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud