Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2001 15:32:39 -0600
From:      Alfred Perlstein <bright@mu.org>
To:        Maxim Konovalov <maxim@macomnet.ru>
Cc:        hackers@freebsd.org
Subject:   Re: has 'options LOCKF_DEBUG' ever worked? (w/ patch) (fwd)
Message-ID:  <20011115153239.T13393@elvis.mu.org>
In-Reply-To: <20011115233840.T38246-100000@news1.macomnet.ru>; from maxim@macomnet.ru on Thu, Nov 15, 2001 at 11:42:50PM %2B0300
References:  <20011115233840.T38246-100000@news1.macomnet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Yes I saw this, I have no idea what 'JH' stands for either that's why
I left it as is.

The problem is that VTOI is ufs specific, this "fix" will break
LOCKF_DEBUG for all other FS's other than UFS because it casts
the vnode->data ptr to struct inode *.

So your "fix" is broken.

Please just fix lf_print to not deref the inode ptr in the struct.

-Alfred

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011115153239.T13393>