freebsd-skq/sys/fs/ntfs
Attilio Rao d7a7e17968 Remove explicit calling of lockmgr() with the NULL argument.
Now, lockmgr() function can only be called passing curthread and the
KASSERT() is upgraded according with this.

In order to support on-the-fly owner switching, the new function
lockmgr_disown() has been introduced and gets used in BUF_KERNPROC().
KPI, so, results changed and FreeBSD version will be bumped soon.
Differently from previous code, we assume idle thread cannot try to
acquire the lockmgr as it cannot sleep, so loose the relative check[1]
in BUF_KERNPROC().

Tested by: kris

[1] kib asked for a KASSERT in the lockmgr_disown() about this
condition, but after thinking at it, as this is a well known general
rule, I found it not really necessary.
2008-01-08 23:48:31 +00:00
..
ntfs_compr.c
ntfs_compr.h
ntfs_iconv.c
ntfs_ihash.c o Do not leak inodes hash table at module unload. 2007-11-13 19:34:06 +00:00
ntfs_ihash.h
ntfs_inode.h
ntfs_subr.c Remove explicit calling of lockmgr() with the NULL argument. 2008-01-08 23:48:31 +00:00
ntfs_subr.h Fix an integer overflow and allow access to files larger than 4GB on 2006-11-20 19:28:36 +00:00
ntfs_vfsops.c o Mask maximum file permissions we get from mount_ntfs -m 2007-11-17 17:05:01 +00:00
ntfs_vfsops.h make M_NTFSMNT and ntfs_calccfree() static 2005-02-10 12:09:49 +00:00
ntfs_vnops.c Move vnode-to-file-handle translation from vfs_vptofh to vop_vptofh method. 2007-02-15 22:08:35 +00:00
ntfs.h Do not declare M_NTFSMNT with extern linkage here, since 2005-09-11 15:57:07 +00:00
ntfsmount.h