History log of /netbsd/sys/fs/nilfs/nilfs_vfsops.c (Results 1 – 25 of 27)
Revision Date Author Comments
# 3efe214b 16-Sep-2021 andvar <andvar@NetBSD.org>

fix typos in word "successful".


# 76af92ac 16-Mar-2020 pgoyette <pgoyette@NetBSD.org>

Use the module subsystem's ability to process SYSCTL_SETUP() entries to
automate installation of sysctl nodes.

Note that there are still a number of device and pseudo-device modules
that create entr

Use the module subsystem's ability to process SYSCTL_SETUP() entries to
automate installation of sysctl nodes.

Note that there are still a number of device and pseudo-device modules
that create entries tied to individual device units, rather than to the
module itself. These are not changed.

show more ...


# 02443708 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.


# 0dc745ed 28-May-2018 chs <chs@NetBSD.org>

add a genfs method to allow a file system to limit the range of pages
that are given to a single GOP_WRITE() call. needed by ZFS.


# c0f141ed 17-Feb-2017 hannken <hannken@NetBSD.org>

Add generic genfs_suspendctl() and use it for all file systems.
Layered file systems need work.


# 575a7585 07-Jul-2016 msaitoh <msaitoh@NetBSD.org>

KNF. Remove extra spaces. No functional change.


# f61b6169 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@


# c3cc9b8e 07-Feb-2015 maxv <maxv@NetBSD.org>

Revert previous, it was a false positive.

In nilfs_mount_device() there's one branch where the node is not released:
when the device is already mounted. Not releasing it was thus intentional,
but th

Revert previous, it was a false positive.

In nilfs_mount_device() there's one branch where the node is not released:
when the device is already mounted. Not releasing it was thus intentional,
but this is something code scanners can't understand.

show more ...


# c94b4853 07-Feb-2015 christos <christos@NetBSD.org>

fix devvp leak. Reported by:
http://www.m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-4


# eec85cf7 15-Oct-2014 hannken <hannken@NetBSD.org>

Change nilfs to vcache.


# 9ec4be76 15-Oct-2014 hannken <hannken@NetBSD.org>

Prepare nilfs for vcache:
- Calling getnewvnode() with "mp == NULL" is wrong. Stop attaching a
vnode to system file nodes and change nilfs_bread() to translate
the block address and then uyse th

Prepare nilfs for vcache:
- Calling getnewvnode() with "mp == NULL" is wrong. Stop attaching a
vnode to system file nodes and change nilfs_bread() to translate
the block address and then uyse the device for the read.
- Move the vnode initialisation to nilfs_get_node() and use
nilfs_get_node_raw() to initialise the nilfs node only.
- Same for nilfs_reclaim() versus nilfs_dispose_node().
- Change nilfs_get_node() to return an unlocked vnode instead of
a nilfs node with locked vnode. Adapt nilfs_lookup() and nilfs_root().
- Don't treat unsupported node types (blk, chr ...) as regular,
return ENXIO instead.
- Fix nilfs_getattr() to mask the mode with ALLPERMS.
- Destroy sync_cv before free.

show more ...


# f4f7f4f3 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 ...


# 97116d3b 23-Mar-2014 hannken <hannken@NetBSD.org>

Change all vfsops to use C99 designated initializers.

No functional changes intended.


# 05fd0bf3 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 ...


# 806892e5 01-Nov-2013 mrg <mrg@NetBSD.org>

apply __diagused where appropriate.


# 9d2b26f2 18-Oct-2013 christos <christos@NetBSD.org>

remove unused variable warnings


# ce2a78d3 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 ...


# 0f2c9784 20-Dec-2012 hannken <hannken@NetBSD.org>

Change bread() and breadn() to never return a buffer on
error and modify all callers to not brelse() on error.

Welcome to 6.99.16

PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> b

Change bread() and breadn() to never return a buffer on
error and modify all callers to not brelse() on error.

Welcome to 6.99.16

PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread)

show more ...


# bd26c726 13-Mar-2012 elad <elad@NetBSD.org>

Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
something meaningful. All relevant documentation has been updated or
written.

Most of these changes were brought up in the follow

Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
something meaningful. All relevant documentation has been updated or
written.

Most of these changes were brought up in the following messages:

http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html
http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html
http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html

Thanks to christos, manu, njoly, and jmmv for input.

Huge thanks to pgoyette for spinning these changes through some build
cycles and ATF.

show more ...


# a964277b 14-Nov-2011 hannken <hannken@NetBSD.org>

VOP_OPEN() needs a locked vnode. All these copy-and-pasted xxxfs_mount()
implementations need more review.


# f01e8126 13-Nov-2011 christos <christos@NetBSD.org>

use getdisksize, M_ZERO, and malloc M_WAITOK doesn't fai.


# f1a072bd 13-Nov-2011 dholland <dholland@NetBSD.org>

Avoid panic on error path, from PR 45607. The error path is exercised
because this is using DIOCGPART to get the volume size, which doesn't
work on wedges. It should be calling getdisksize() instead.


# 4973fb4e 11-Aug-2010 pgoyette <pgoyette@NetBSD.org>

Remove extra char - not sure where that came from (duplicated vi command?)

I really need more caffeine.

Thanks pooka@ for noticing.


# 24d9c402 11-Aug-2010 pgoyette <pgoyette@NetBSD.org>

Keep condvar wmesg's within 8-char limit


# 1423e65b 24-Jun-2010 hannken <hannken@NetBSD.org>

Clean up vnode lock operations pass 2:

VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.

Welcome to 5.99.32.

Discussed on tech-kern.


12