#
6e35a947 |
| 04-Feb-2024 |
christos <christos@NetBSD.org> |
PR/57904: Ricardo Branco: Mask file permissions we get from mount_ntfs -m option
|
#
23bf8800 |
| 13-Apr-2020 |
ad <ad@NetBSD.org> |
Replace most uses of vp->v_usecount with a call to vrefcnt(vp), a function that hides the details and does atomic_load_relaxed(). Signature matches FreeBSD.
|
#
c2e9cb94 |
| 17-Jan-2020 |
ad <ad@NetBSD.org> |
VFS_VGET(), VFS_ROOT(), VFS_FHTOVP(): give them a "int lktype" argument, to allow us to get shared locks (or no lock) on the returned vnode. Matches FreeBSD.
|
#
5bde8f1c |
| 18-Oct-2019 |
hannken <hannken@NetBSD.org> |
It is not possible to call vflush() from xxx_mount().
Replace with a vnode iterator and use vrecycle().
|
#
20bb034f |
| 17-Apr-2017 |
hannken <hannken@NetBSD.org> |
Remove unused argument "nextp" from vfs_busy() and vfs_unbusy(). Remove argument "keepref" from vfs_unbusy() and add vfs_ref() where needed.
|
#
ebb8f73b |
| 17-Apr-2017 |
hannken <hannken@NetBSD.org> |
Add vfs_ref(mp) and vfs_rele(mp) to add or remove a reference to struct mount. Rename vfs_destroy(mp) to vfs_rele(mp) and replace incrementing mp->mnt_refcnt with vfs_ref(mp).
|
#
326db3aa |
| 17-Feb-2017 |
hannken <hannken@NetBSD.org> |
Add generic genfs_suspendctl() and use it for all file systems. Layered file systems need work.
|
#
6e392401 |
| 28-Mar-2015 |
maxv <maxv@NetBSD.org> |
Remove the 'cred' argument from bread(). Remove a now unused var in ffs_snapshot.c. Update the man page accordingly.
ok hannken@
|
#
14c96698 |
| 20-Feb-2015 |
maxv <maxv@NetBSD.org> |
Cosmetic changes: - add a ffs-like ntfs_superblock_validate function - remove unused includes - fix some comments - KNF
No functional change.
|
#
e8b589e2 |
| 06-Jan-2015 |
hannken <hannken@NetBSD.org> |
Adjust printf and add missing ntfs_ntput().
|
#
ea82045e |
| 04-Jan-2015 |
christos <christos@NetBSD.org> |
add more debugging.
|
#
fc8f062e |
| 28-Dec-2014 |
maxv <maxv@NetBSD.org> |
Prevent another division by zero in ntfs_loadntnode() by ensuring spc != 0.
|
#
c1acce04 |
| 28-Dec-2014 |
maxv <maxv@NetBSD.org> |
Ensure bps != 0 to prevent a division by zero. Zero byte per sector makes no sense.
|
#
ead51937 |
| 28-Dec-2014 |
maxv <maxv@NetBSD.org> |
Make this more readable (KNF).
|
#
0bac6265 |
| 13-Nov-2014 |
hannken <hannken@NetBSD.org> |
Change ntfs to vcache. - Use (inumber, attrtype, attrname) as key. - Inline ntfs_fget() and ntfs_frele() as they only get called once.
|
#
a26eea28 |
| 13-Nov-2014 |
hannken <hannken@NetBSD.org> |
- Change ntfs_vgetex() to always load the ntnode and fnode. - Take the vnode attributes from the NAME attribute. - Remove now unused ntfs_times() and ntfs_filesize(). - Treat nodes without an unnamed
- Change ntfs_vgetex() to always load the ntnode and fnode. - Take the vnode attributes from the NAME attribute. - Remove now unused ntfs_times() and ntfs_filesize(). - Treat nodes without an unnamed DATA attribute as zero-sized regular files.
show more ...
|
#
6f8e2ffe |
| 13-Nov-2014 |
hannken <hannken@NetBSD.org> |
- Fix ntfs_ntlookupattr() to make the examples from the man page work. - Fix ntfs_loadntnode() to always read full cluster to prevent buffer cache inconsistency. - Change ntfs_vgetex() and ntfs_fge
- Fix ntfs_ntlookupattr() to make the examples from the man page work. - Fix ntfs_loadntnode() to always read full cluster to prevent buffer cache inconsistency. - Change ntfs_vgetex() and ntfs_fget() to take a const attrname and always pass a possibly empty string. - Change printf to dprintf. - Get rid of dead fields i_next, i_prev of struct ntnode.
show more ...
|
#
23f76b6d |
| 16-Apr-2014 |
maxv <maxv@NetBSD.org> |
An (un)privileged user can easily make the kernel dereference a NULL pointer.
The kernel allows 'data' to be NULL; it's the fs's responsibility to ensure that it isn't NULL (if the fs actually needs
An (un)privileged user can easily make the kernel dereference a NULL pointer.
The kernel allows 'data' to be NULL; it's the fs's responsibility to ensure that it isn't NULL (if the fs actually needs data).
ok christos@
show more ...
|
#
6d285189 |
| 23-Mar-2014 |
hannken <hannken@NetBSD.org> |
Change all vfsops to use C99 designated initializers.
No functional changes intended.
|
#
4f6fb3bf |
| 25-Feb-2014 |
pooka <pooka@NetBSD.org> |
Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before the sysctl link sets are processed, and remove redundancy.
Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicat
Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before the sysctl link sets are processed, and remove redundancy.
Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate lines of code.
show more ...
|
#
9c43792b |
| 10-Dec-2013 |
christos <christos@NetBSD.org> |
CID 975205: Unchecked return value
|
#
0b725b63 |
| 23-Nov-2013 |
christos <christos@NetBSD.org> |
change the mountlist CIRCLEQ into a TAILQ
|
#
ba0dd1c1 |
| 17-Oct-2013 |
christos <christos@NetBSD.org> |
remove unused code
|
#
3881f4f3 |
| 30-Sep-2013 |
hannken <hannken@NetBSD.org> |
Replace macro v_specmountpoint with two functions spec_node_getmountedfs() and spec_node_setmountedfs() to manage the file system mounted on a device. Assert the device is a block device.
Welcome to
Replace macro v_specmountpoint with two functions spec_node_getmountedfs() and spec_node_setmountedfs() to manage the file system mounted on a device. Assert the device is a block device.
Welcome to 6.99.24
Discussed on tech-kern@ some time ago.
Reviewed by: David Holland <dholland@netbsd.org>
show more ...
|
#
d84a65dd |
| 14-Nov-2011 |
hannken <hannken@NetBSD.org> |
VOP_OPEN() needs a locked vnode. All these copy-and-pasted xxxfs_mount() implementations need more review.
|