CVS commit: src/sys/fs

2021-07-18 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Jul 19 01:30:25 UTC 2021

Modified Files:
src/sys/fs/cd9660: cd9660_vnops.c
src/sys/fs/puffs: puffs_vnops.c
src/sys/fs/tmpfs: tmpfs_fifoops.c tmpfs_specops.c

Log Message:
Abolish all the silly indirection macros for initializing vnode ops tables.

These are things of the form #define foofs_op genfs_op, or #define
foofs_op genfs_eopnotsupp, or similar. They serve no purpose besides
obfuscation, and have gotten cutpasted all over everywhere.

Part 2; cvs randomly didn't commit these changes before, and then hid
them from me until I touched the files to force it to rethink. Dunno
what happened.

There's probably more of these, going to have to scan the tree the
hard way.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/fs/cd9660/cd9660_vnops.c
cvs rdiff -u -r1.220 -r1.221 src/sys/fs/puffs/puffs_vnops.c
cvs rdiff -u -r1.14 -r1.15 src/sys/fs/tmpfs/tmpfs_fifoops.c
cvs rdiff -u -r1.15 -r1.16 src/sys/fs/tmpfs/tmpfs_specops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/ptyfs

2021-07-18 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jul 18 23:57:34 UTC 2021

Modified Files:
src/sys/fs/ptyfs: ptyfs_vnops.c

Log Message:
Fix ptyfs link and symlink ops.

They were set (via macro obfuscation just eliminated) to
genfs_abortop, which is the wrong thing. These code paths are
currently inaccessible because of EROFS enforcement in namei, but if
either were reached odd behavior would likely ensue. Use
genfs_eopnotsupp like the rest of the ops that don't make sense here.


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/fs/ptyfs/ptyfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/union

2021-07-04 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Jul  4 11:24:09 UTC 2021

Modified Files:
src/sys/fs/union: union_vnops.c

Log Message:
Fix union_parsepath(), either the upper or the lower dvp may be NULL.


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/sys/fs/union/union_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs

2021-06-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Jun 29 22:38:46 UTC 2021

Modified Files:
src/sys/fs/union: union_vnops.c
src/sys/fs/unionfs: unionfs_vnops.c

Log Message:
Onionfs needs to know about parsepath too, in case it has one of the
other cases underneath it.

The solution here is not really very good (take the longer
path-to-consume if they're different) but it will serve for the cases
that exist.

(If we were to add a fs that really uses different naming semantics,
we'd have to take additional steps; probably it doesn't make sense to
allow unionfs to union such a thing with a normal fs and attempting it
should fail at mount time.)

Update fs/unionfs as well to avoid increasing the current set of
compile failures there. Though maybe it's time to just remove
fs/unionfs.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/fs/union/union_vnops.c
cvs rdiff -u -r1.15 -r1.16 src/sys/fs/unionfs/unionfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/hfs

2021-06-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Jun 29 22:37:50 UTC 2021

Modified Files:
src/sys/fs/hfs: hfs_vnops.c

Log Message:
Implement VOP_PARSEPATH() for hfs.

This checks for a following "/rsrc" at the end of the pathname (to
indicate the resource fork of a file) and assimilates it into the
component name to be looked up. Then cn_namelen will already include
this text in lookup, and it's no longer necessary to muck with
cn_consume.

Invalid uses of "/rsrc" are ignored rather than rejected, which
appears to be the same as the old behavior. It is possible that the
parsepath logic should only consume the "/rsrc" if the name names a
file and not a directory, which would require looking it up in
parsepath and be a general nuisance; I hope not. It's also possible
that the whole thing doesn't work at all now, or it didn't before, as
I don't have any way to test it.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/fs/hfs/hfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/ntfs

2021-05-13 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu May 13 08:57:29 UTC 2021

Modified Files:
src/sys/fs/ntfs: ntfs_subr.c

Log Message:
ntfs_loadntnode(): Use bread() when ntm_sysvn[NTFS_MFTINO] is NULL.

May happen when loading node 0 (MFT) during mount and some
attributes are stored in another ntnode.

PR kern/56160 (Mount ntfs usb disk)


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/fs/ntfs/ntfs_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/puffs

2021-04-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr  1 19:00:33 UTC 2021

Modified Files:
src/sys/fs/puffs: puffs_vfsops.c

Log Message:
Put a copy of our existing data first in the non-error case (noticed by RVP).


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 src/sys/fs/puffs/puffs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/nfs

2021-03-28 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Mon Mar 29 02:13:38 UTC 2021

Modified Files:
src/sys/fs/nfs/client: nfs_clbio.c
src/sys/fs/nfs/server: nfs_nfsdport.c

Log Message:
Don't use legacy VM types.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/fs/nfs/client/nfs_clbio.c
cvs rdiff -u -r1.3 -r1.4 src/sys/fs/nfs/server/nfs_nfsdport.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/puffs

2021-03-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  8 17:34:30 UTC 2021

Modified Files:
src/sys/fs/puffs: puffs_msgif.h

Log Message:
give names to the enums so we can cast by name for lint


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/fs/puffs/puffs_msgif.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/msdosfs

2021-02-10 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Thu Feb 11 00:15:55 UTC 2021

Modified Files:
src/sys/fs/msdosfs: msdosfs_vfsops.c

Log Message:
Enable to mount Raspberry Pi Pico's USB mass storage partition

Fix PR kern/55985.
O.k. by thorpej@.

Pull-up to netbsd-8 and netbsd-9.


To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.136 src/sys/fs/msdosfs/msdosfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/tmpfs

2020-12-13 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Sun Dec 13 19:22:02 UTC 2020

Modified Files:
src/sys/fs/tmpfs: tmpfs_vnops.c

Log Message:
Disable use of UBC_FAULTBUSY in tmpfs_write() for now,
which brings back zeroing of all new tmpfs data pages.
The existing code that enables this optimization skips the zeroing
in numerous cases where it is needed, resulting in corrupted files
and data leaks from the page's previous identity.


To generate a diff of this commit:
cvs rdiff -u -r1.144 -r1.145 src/sys/fs/tmpfs/tmpfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/ptyfs

2020-11-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Nov 27 14:43:57 UTC 2020

Modified Files:
src/sys/fs/ptyfs: ptyfs.h ptyfs_subr.c ptyfs_vnops.c

Log Message:
make the order of the arguments in the PTYFS_FILENO macro consistent with
the order in the function calls. One of them was incorrect. Noticed by martin@


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/fs/ptyfs/ptyfs.h
cvs rdiff -u -r1.33 -r1.34 src/sys/fs/ptyfs/ptyfs_subr.c
cvs rdiff -u -r1.61 -r1.62 src/sys/fs/ptyfs/ptyfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/ptyfs

2020-11-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Nov 24 16:38:31 UTC 2020

Modified Files:
src/sys/fs/ptyfs: ptyfs_vnops.c

Log Message:
PR/55821: tar can not extract base.tgz anymore (./dev/pts and mounted ptyfs)
Allow chown/chmod at the root of ptyfs.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/fs/ptyfs/ptyfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/msdosfs

2020-09-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Sep  7 01:35:25 UTC 2020

Modified Files:
src/sys/fs/msdosfs: msdosfs_fat.c

Log Message:
avoid an uninit warning with GCC 9.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/fs/msdosfs/msdosfs_fat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/efs

2020-09-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep  7 00:11:48 UTC 2020

Modified Files:
src/sys/fs/efs: efs_subr.c

Log Message:
fix unaligned access


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/fs/efs/efs_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/union

2020-08-18 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Aug 18 09:44:07 UTC 2020

Modified Files:
src/sys/fs/union: union.h union_subr.c union_vnops.c

Log Message:
Operation union_readdirhook() stores the lower directory as un_uppervp.
This breaks the assumption that un_uppervp->v_mount is the upper mount.

Fix by storing the directory as un_lowervp and adapt union_readdir().

Should fix PR kern/2: panic with union mount


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/fs/union/union.h
cvs rdiff -u -r1.78 -r1.79 src/sys/fs/union/union_subr.c
cvs rdiff -u -r1.73 -r1.74 src/sys/fs/union/union_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/hfs

2020-07-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Jul 24 05:26:37 UTC 2020

Modified Files:
src/sys/fs/hfs: hfs.h

Log Message:
Replace the */ I accidentally removed in the last commit


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/fs/hfs/hfs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/hfs

2020-07-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Jul 23 19:26:34 UTC 2020

Modified Files:
src/sys/fs/hfs: hfs.h

Log Message:
unifdef -U_LKM


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/fs/hfs/hfs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/hfs

2020-07-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Jul 23 19:26:00 UTC 2020

Modified Files:
src/sys/fs/hfs: hfs.h

Log Message:
Trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/fs/hfs/hfs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/tmpfs

2020-05-24 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sun May 24 20:08:26 UTC 2020

Modified Files:
src/sys/fs/tmpfs: tmpfs_vnops.c

Log Message:
tmpfs_write(): use UBC_FAULTBUSY when extending files, if possible, to avoid
zeroing of newly allocated pages & fault processing.


To generate a diff of this commit:
cvs rdiff -u -r1.141 -r1.142 src/sys/fs/tmpfs/tmpfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/tmpfs

2020-05-17 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sun May 17 19:43:31 UTC 2020

Modified Files:
src/sys/fs/tmpfs: tmpfs_vnops.c

Log Message:
Minor correction to previous.


To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 src/sys/fs/tmpfs/tmpfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/tmpfs

2020-05-17 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sun May 17 19:39:15 UTC 2020

Modified Files:
src/sys/fs/tmpfs: tmpfs.h tmpfs_subr.c tmpfs_vnops.c

Log Message:
PR kern/55268: tmpfs is slow

tmpfs_getpages(): handle the PGO_LOCKED case and implement lazy update of
atime/mtime.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/fs/tmpfs/tmpfs.h
cvs rdiff -u -r1.111 -r1.112 src/sys/fs/tmpfs/tmpfs_subr.c
cvs rdiff -u -r1.138 -r1.139 src/sys/fs/tmpfs/tmpfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/tmpfs

2020-05-15 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Fri May 15 22:15:43 UTC 2020

Modified Files:
src/sys/fs/tmpfs: tmpfs_vnops.c

Log Message:
PR kern/55268: tmpfs is slow

Enter dotdot into the namecache.


To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.137 src/sys/fs/tmpfs/tmpfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/autofs

2020-04-26 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Sun Apr 26 17:00:31 UTC 2020

Modified Files:
src/sys/fs/autofs: autofs_vfsops.c

Log Message:
autofs: Silence down a warning which should really be a debug message

taken-from: FreeBSD


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/fs/autofs/autofs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/adosfs

2020-04-23 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Thu Apr 23 09:58:37 UTC 2020

Modified Files:
src/sys/fs/adosfs: advnops.c

Log Message:
fix obvious typo in error handling - buf error should go to b_error


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/fs/adosfs/advnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/udf

2020-04-14 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Apr 14 12:47:44 UTC 2020

Modified Files:
src/sys/fs/udf: udf_vfsops.c

Log Message:
Move comment related to the sysctl_createv() in SYSCTL_SETUP() from the old
place to the new place too.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/fs/udf/udf_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/udf

2020-04-14 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Apr 14 11:45:43 UTC 2020

Modified Files:
src/sys/fs/udf: udf_vnops.c

Log Message:
fix debug print flag


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 src/sys/fs/udf/udf_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/udf

2020-04-06 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Apr  6 14:31:06 UTC 2020

Modified Files:
src/sys/fs/udf: udf_subr.c

Log Message:
udf_get_node(): fix typo and honor "lktype" argument.


To generate a diff of this commit:
cvs rdiff -u -r1.149 -r1.150 src/sys/fs/udf/udf_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/autofs

2020-03-28 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Sat Mar 28 17:29:57 UTC 2020

Modified Files:
src/sys/fs/autofs: autofs.c

Log Message:
autofs: Make autofs(5) timeout messages include affected process name and PID

Sync warning message with FreeBSD and DragonFlyBSD.
taken-from: FreeBSD


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/fs/autofs/autofs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/nilfs

2020-03-21 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Mar 21 13:39:31 UTC 2020

Modified Files:
src/sys/fs/nilfs: nilfs_subr.c

Log Message:
Fix use-after-free issue!


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/fs/nilfs/nilfs_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/nilfs

2020-03-21 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Mar 21 13:38:29 UTC 2020

Modified Files:
src/sys/fs/nilfs: nilfs.h

Log Message:
Compile in the DPRINTF debug macro's on DEBUG kernels


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/fs/nilfs/nilfs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/tmpfs

2020-03-14 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat Mar 14 13:39:36 UTC 2020

Modified Files:
src/sys/fs/tmpfs: tmpfs_vnops.c

Log Message:
tmpfs_inactive(): do like other file systems and truncate the file if it
has been deleted.  Otherwise VFS will try to write cached data "back to
disc", which in the case of a UAO means needless page deactivations and
the resulting TLB shootdowns.


To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 src/sys/fs/tmpfs/tmpfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/tmpfs

2020-03-14 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat Mar 14 13:37:49 UTC 2020

Modified Files:
src/sys/fs/tmpfs: tmpfs_subr.c

Log Message:
tmpfs_reg_resize(): do nothing if newsize == oldsize.


To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 src/sys/fs/tmpfs/tmpfs_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/hfs

2020-02-28 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Fri Feb 28 11:27:38 UTC 2020

Modified Files:
src/sys/fs/hfs: hfs_vfsops.c

Log Message:
Avoid undefined behavior in left shift semantics

hfs_vfsops.c:477:19, left shift of 1 by 31 places cannot be represented in type 
'int'


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/fs/hfs/hfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/autofs

2019-12-14 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Sat Dec 14 12:01:13 UTC 2019

Modified Files:
src/sys/fs/autofs: autofs.c

Log Message:
autofs: Make /dev/autofs cdevsw functions static

Also less confusing since autofs vnops also has autofs_{open,close} in NetBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/fs/autofs/autofs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/tmpfs

2019-12-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Dec  3 04:59:05 UTC 2019

Modified Files:
src/sys/fs/tmpfs: tmpfs_rename.c

Log Message:
Omit obsolete comment and needless __diagused marker.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/fs/tmpfs/tmpfs_rename.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/puffs

2019-02-04 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Feb  5 00:22:36 UTC 2019

Modified Files:
src/sys/fs/puffs: files.puffs

Log Message:
It turns out we do want the puffs compat code in any kernel which
has built-in compat_50 regardless of whether the kernel also has
puffs.

Should finally fix PR kern/53943


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/fs/puffs/files.puffs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/puffs

2019-02-04 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon Feb  4 14:47:41 UTC 2019

Modified Files:
src/sys/fs/puffs: files.puffs

Log Message:
try '&' instead of '&&'


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/fs/puffs/files.puffs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/hfs

2019-01-05 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sat Jan  5 10:25:11 UTC 2019

Modified Files:
src/sys/fs/hfs: libhfs.h

Log Message:
Remove bogus code to workaround PCC limitations.

This would print stack garbage, which isn't desirable.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/fs/hfs/libhfs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/hfs

2018-12-30 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Dec 30 22:40:00 UTC 2018

Modified Files:
src/sys/fs/hfs: libhfs.c

Log Message:
Fix support for case sensitive HFS.
Without this change, the wrong file is returned, if 2 file names contain a
subset of each other.

Code submitted in PR bin/52993 by Harold Gutch


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/fs/hfs/libhfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/puffs

2018-11-05 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Tue Nov  6 02:39:49 UTC 2018

Modified Files:
src/sys/fs/puffs: puffs_vnops.c

Log Message:
Fix use after RECLAIM in PUFFS filesystems

>From hannken@

When puffs_cookie2vnode() misses an entry and vrele() it operations
puffs_vnop_reclaim() and puffs_vnop_fsync() get called with a VNON
vnode.

Do not notify the server in this case as the cookie is stale.


To generate a diff of this commit:
cvs rdiff -u -r1.212 -r1.213 src/sys/fs/puffs/puffs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/puffs

2018-11-04 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Mon Nov  5 02:28:32 UTC 2018

Modified Files:
src/sys/fs/puffs: puffs_vnops.c

Log Message:
Add missing mutex pn->pn_sizemtx lock in puffs_vnop_open()

puffs_vnop_open() calls flushvncache(), which calls dosetattr()
if pn->pn_stat has PNODE_METACACHE_MASK. In that case, the lock
on pn->pn_sizemtx is mandatory and asserted.


To generate a diff of this commit:
cvs rdiff -u -r1.211 -r1.212 src/sys/fs/puffs/puffs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/udf

2018-08-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Aug  9 20:30:26 UTC 2018

Modified Files:
src/sys/fs/udf: udf_subr.c

Log Message:
Fix length calculation


To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 src/sys/fs/udf/udf_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/udf

2018-08-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Aug  9 13:49:30 UTC 2018

Modified Files:
src/sys/fs/udf: ecma167-udf.h

Log Message:
Sync with UDFclient


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/fs/udf/ecma167-udf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/tmpfs

2018-08-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Aug  9 08:43:56 UTC 2018

Modified Files:
src/sys/fs/tmpfs: tmpfs_vfsops.c

Log Message:
FIx performance regression from rmind@:

Just from a very quick look, it seems like a regression introduced with
the vcache changes: the MP-safe flag is set too late and not inherited
by the root vnode.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/fs/tmpfs/tmpfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/msdosfs

2018-07-25 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Wed Jul 25 22:07:59 UTC 2018

Modified Files:
src/sys/fs/msdosfs: msdosfs_fat.c

Log Message:
Avoid undefined behavior semantics in msdosfs_fat.c

Do not change signedness bit with left shift.
While there avoid signed integer overflow.
Address both issues with using unsigned type.

msdosfs_fat.c:512:42, left shift of 1 by 31 places cannot be represented in 
type 'int'
msdosfs_fat.c:521:44, left shift of 1 by 31 places cannot be represented in 
type 'int'
msdosfs_fat.c:744:14, left shift of 1 by 31 places cannot be represented in 
type 'int'
msdosfs_fat.c:744:24, signed integer overflow: -2147483648 - 1 cannot be 
represented in type 'int [20]'
msdosfs_fat.c:840:13, left shift of 1 by 31 places cannot be represented in 
type 'int'
msdosfs_fat.c:840:36, signed integer overflow: -2147483648 - 1 cannot be 
represented in type 'int [20]'

Detected with micro-UBSan in the user mode.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/fs/msdosfs/msdosfs_fat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/udf

2018-07-25 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Wed Jul 25 19:56:56 UTC 2018

Modified Files:
src/sys/fs/udf: ecma167-udf.h

Log Message:
Avoid undefined behavior in ecma167-udf.h

Define the UDF_EXT_* symbols as unsigned values.
This prevents undefined behavior of altering the signedness bit in a part
of them. Swap the remaining symbols to unsigned values to keep the
consistency.

Required by GCC when building with Undefined Behavior Sanitizer.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/fs/udf/ecma167-udf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/udf

2018-07-25 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Jul 25 11:09:22 UTC 2018

Modified Files:
src/sys/fs/udf: udf_subr.c

Log Message:
Enhance logical volume integrity descriptor handling and provide
bug-compatibility for Linux mkudffs 1.3 images.


To generate a diff of this commit:
cvs rdiff -u -r1.141 -r1.142 src/sys/fs/udf/udf_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/nfs/common

2018-04-26 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Apr 26 19:27:04 UTC 2018

Modified Files:
src/sys/fs/nfs/common: nfs_commonsubs.c

Log Message:
Fix inverted arguments in MGET().


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/fs/nfs/common/nfs_commonsubs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/nfs/common

2018-02-01 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Feb  1 17:22:45 UTC 2018

Modified Files:
src/sys/fs/nfs/common: nfsport.h

Log Message:
Remove unused (and a reference to ovbcopy along the way).


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/fs/nfs/common/nfsport.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/union

2018-01-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jan 28 15:48:44 UTC 2018

Modified Files:
src/sys/fs/union: union_subr.c

Log Message:
CID-1428639: make sure we always initialiaze hash, because if ultimately
the file is not found and we end up looping we need them.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/fs/union/union_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/msdosfs

2018-01-26 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Jan 27 03:54:01 UTC 2018

Modified Files:
src/sys/fs/msdosfs: msdosfs_fat.c

Log Message:
Need strings.h for ffs()
Resolves implict declaration warning of ffs() when building tools via build.sh


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/fs/msdosfs/msdosfs_fat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/autofs

2018-01-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jan 14 22:43:18 UTC 2018

Modified Files:
src/sys/fs/autofs: autofs_mount.h autofs_vfsops.c

Log Message:
support getargs, fix flush, fix mutex_destroy


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/fs/autofs/autofs_mount.h
cvs rdiff -u -r1.3 -r1.4 src/sys/fs/autofs/autofs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/autofs

2018-01-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 13 22:06:21 UTC 2018

Modified Files:
src/sys/fs/autofs: autofs_vfsops.c

Log Message:
prevent assert on unmount.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/fs/autofs/autofs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/autofs

2018-01-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jan  9 16:19:39 UTC 2018

Modified Files:
src/sys/fs/autofs: autofs.c autofs_vfsops.c

Log Message:
fix module attachment and cdevsw


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/fs/autofs/autofs.c
cvs rdiff -u -r1.1 -r1.2 src/sys/fs/autofs/autofs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/autofs

2018-01-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jan  9 13:56:00 UTC 2018

Modified Files:
src/sys/fs/autofs: autofs.c

Log Message:
Include  for the atomic funtions used in here.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/fs/autofs/autofs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/msdosfs

2017-11-27 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Mon Nov 27 15:02:05 UTC 2017

Modified Files:
src/sys/fs/msdosfs: msdosfs_vfsops.c

Log Message:
relax sanity check. It's ok to have more FAT sectors than needed.


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/sys/fs/msdosfs/msdosfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/v7fs

2017-08-26 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Aug 27 06:18:16 UTC 2017

Modified Files:
src/sys/fs/v7fs: v7fs_io_kern.c

Log Message:
Remove some unnecessary duplicatioN


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/fs/v7fs/v7fs_io_kern.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/msdosfs

2017-08-20 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Aug 20 11:48:15 UTC 2017

Modified Files:
src/sys/fs/msdosfs: msdosfs_vfsops.c

Log Message:
Add more sanity checks for BPB parameters. Handle FAT12 format for media
with sectors >= 32kByte.

Does fix PR 52485.


To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/sys/fs/msdosfs/msdosfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/union

2017-07-17 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Jul 17 09:22:36 UTC 2017

Modified Files:
src/sys/fs/union: union.h union_subr.c

Log Message:
Make union_newlower() ans union_newupper() local to union_subr.c,
expand and remove union_updatevp() and take care to transfer the
vnode lock from the union vnode to its new upper vnode without
breaking the fstrans state.

Add assertions that un_lowervp and un_uppervp never change from
non-NULL to non-NULL.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/fs/union/union.h
cvs rdiff -u -r1.75 -r1.76 src/sys/fs/union/union_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/udf

2017-06-24 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sat Jun 24 12:13:16 UTC 2017

Modified Files:
src/sys/fs/udf: udf_vfsops.c

Log Message:
No need to call vflush from failing udf_mount().  If the system nodes
really have to disappear we should change vrele() to vrecycle() here.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/fs/udf/udf_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/smbfs

2017-05-28 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun May 28 16:36:37 UTC 2017

Modified Files:
src/sys/fs/smbfs: smbfs_node.c smbfs_node.h smbfs_vnops.c

Log Message:
When a vnode has an invalid type because the type changed on the
server replace vgone() with new operation smbfs_uncache() that
removes the vnode from the name cache and changes the vcache key
to an unique and illegal key to prevent further lookups.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/fs/smbfs/smbfs_node.c
cvs rdiff -u -r1.15 -r1.16 src/sys/fs/smbfs/smbfs_node.h
cvs rdiff -u -r1.94 -r1.95 src/sys/fs/smbfs/smbfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/union

2017-05-24 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Wed May 24 09:55:19 UTC 2017

Modified Files:
src/sys/fs/union: union_vnops.c

Log Message:
Use VCALL() to lock or unlock the lower node.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/fs/union/union_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/union

2017-05-07 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun May  7 08:22:40 UTC 2017

Modified Files:
src/sys/fs/union: union_vnops.c

Log Message:
Move v_writecount adjustment from revoke to reclaim.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/fs/union/union_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/v7fs

2017-04-08 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sat Apr  8 08:51:02 UTC 2017

Modified Files:
src/sys/fs/v7fs: v7fs_vnops.c

Log Message:
Update mtime when updating file size.

PR kern/51762 (mtime not updated by open(O_TRUNC))


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/fs/v7fs/v7fs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/puffs

2017-04-08 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sat Apr  8 08:49:44 UTC 2017

Modified Files:
src/sys/fs/puffs: puffs_vnops.c

Log Message:
Update mtime when updating file size.

PR kern/51762 (mtime not updated by open(O_TRUNC))


To generate a diff of this commit:
cvs rdiff -u -r1.207 -r1.208 src/sys/fs/puffs/puffs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/puffs

2017-04-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr  6 00:02:19 UTC 2017

Modified Files:
src/sys/fs/puffs: puffs_vnops.c

Log Message:
use ubc_zerorange


To generate a diff of this commit:
cvs rdiff -u -r1.206 -r1.207 src/sys/fs/puffs/puffs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/puffs

2017-04-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Apr  4 21:07:50 UTC 2017

Modified Files:
src/sys/fs/puffs: puffs_vnops.c

Log Message:
use MAX_PAGE_SIZE.


To generate a diff of this commit:
cvs rdiff -u -r1.205 -r1.206 src/sys/fs/puffs/puffs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/tmpfs

2017-03-30 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Mar 30 09:09:26 UTC 2017

Modified Files:
src/sys/fs/tmpfs: tmpfs_vnops.c

Log Message:
Protect tmpfs_getpages() against reclaiming vnodes.


To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130 src/sys/fs/tmpfs/tmpfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/union

2017-03-06 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar  6 10:08:49 UTC 2017

Modified Files:
src/sys/fs/union: union_vnops.c

Log Message:
Handle v_writecount from union_open(), union_close() and union_revoke()
so lower file system vnodes get marked as open for writing.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/fs/union/union_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/msdosfs

2017-03-01 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Wed Mar  1 10:41:28 UTC 2017

Modified Files:
src/sys/fs/msdosfs: msdosfs_denode.c msdosfs_vfsops.c msdosfs_vnops.c

Log Message:
Remove now redundant calls to fstrans_start()/fstrans_done().


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/fs/msdosfs/msdosfs_denode.c
cvs rdiff -u -r1.123 -r1.124 src/sys/fs/msdosfs/msdosfs_vfsops.c
cvs rdiff -u -r1.96 -r1.97 src/sys/fs/msdosfs/msdosfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/msdosfs

2017-02-17 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Feb 17 08:27:20 UTC 2017

Modified Files:
src/sys/fs/msdosfs: msdosfs_vfsops.c

Log Message:
Take vnode lock for VOP_FSYNC().


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 src/sys/fs/msdosfs/msdosfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/tmpfs

2017-01-27 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Jan 27 10:47:54 UTC 2017

Modified Files:
src/sys/fs/tmpfs: tmpfs.h tmpfs_vfsops.c

Log Message:
Run vflush() when going from read/write to read only.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/fs/tmpfs/tmpfs.h
cvs rdiff -u -r1.68 -r1.69 src/sys/fs/tmpfs/tmpfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/msdosfs

2017-01-14 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sat Jan 14 17:17:53 UTC 2017

Modified Files:
src/sys/fs/msdosfs: denode.h

Log Message:
Be explicit about how we're placing part of the on-disk name into
the extension, so it doesn't appear like we are overrunning an array.
Appeases coverity, NFC.

ok riastradh


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/fs/msdosfs/denode.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/tmpfs

2017-01-11 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Jan 11 12:12:32 UTC 2017

Modified Files:
src/sys/fs/tmpfs: tmpfs_vnops.c

Log Message:
Remove RO check in tmpfs_putpages for now, the syncer doesn't like the
error code.


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/sys/fs/tmpfs/tmpfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/udf

2017-01-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jan  4 15:53:14 UTC 2017

Modified Files:
src/sys/fs/udf: udf_allocation.c

Log Message:
PR/51777: David Binderman: Remove unused computation


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/fs/udf/udf_allocation.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/tmpfs

2017-01-04 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Wed Jan  4 10:06:43 UTC 2017

Modified Files:
src/sys/fs/tmpfs: tmpfs_subr.c

Log Message:
Change tmpfs_chsize() to update mtime etc. even if "length == node->tn_size".

Adresses PR kern/51762 "mtime not updated by open(O_TRUNC)"


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/fs/tmpfs/tmpfs_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/puffs

2016-12-26 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Dec 26 08:21:09 UTC 2016

Modified Files:
src/sys/fs/puffs: puffs_msgif.c

Log Message:
Hold the interlock when calling cv_broadcast as per condvar(9)


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 src/sys/fs/puffs/puffs_msgif.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/nfs/client

2016-12-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Dec 13 22:54:24 UTC 2016

Modified Files:
src/sys/fs/nfs/client: nfs.h

Log Message:
More changes for creds, mutex, etc.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 src/sys/fs/nfs/client/nfs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/nfs/common

2016-12-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Dec 13 22:52:46 UTC 2016

Modified Files:
src/sys/fs/nfs/common: bootp_subr.c krpc.h nfs.h nfs_mountcommon.h
nfs_var.h nfsclstate.h nfsm_subs.h nfsport.h nfsrvcache.h
nfsrvstate.h

Log Message:
Mostly mechanical updates for caddr_t, thread, mutex, and credentials


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/fs/nfs/common/bootp_subr.c \
src/sys/fs/nfs/common/nfsport.h
cvs rdiff -u -r1.1.1.1 -r1.2 src/sys/fs/nfs/common/krpc.h \
src/sys/fs/nfs/common/nfs_mountcommon.h
cvs rdiff -u -r1.1.1.2 -r1.2 src/sys/fs/nfs/common/nfs.h \
src/sys/fs/nfs/common/nfs_var.h src/sys/fs/nfs/common/nfsclstate.h \
src/sys/fs/nfs/common/nfsrvcache.h src/sys/fs/nfs/common/nfsrvstate.h
cvs rdiff -u -r1.3 -r1.4 src/sys/fs/nfs/common/nfsm_subs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/nfs/common

2016-12-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Dec 13 22:49:02 UTC 2016

Modified Files:
src/sys/fs/nfs/common: nfskpiport.h

Log Message:
Disable duplicate typedef


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/sys/fs/nfs/common/nfskpiport.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/nfs/common

2016-12-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Dec 13 22:41:46 UTC 2016

Modified Files:
src/sys/fs/nfs/common: nfs_diskless.c nfs_fha.c nfs_lock.c nfs_nfssvc.c

Log Message:
More cleanup of #includes


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 src/sys/fs/nfs/common/nfs_diskless.c \
src/sys/fs/nfs/common/nfs_fha.c src/sys/fs/nfs/common/nfs_lock.c \
src/sys/fs/nfs/common/nfs_nfssvc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/nfs/common

2016-12-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Dec 13 22:31:51 UTC 2016

Modified Files:
src/sys/fs/nfs/common: nfs_commonacl.c nfs_commonkrpc.c
nfs_commonport.c nfs_commonsubs.c

Log Message:
More cleanup of #includes


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 src/sys/fs/nfs/common/nfs_commonacl.c \
src/sys/fs/nfs/common/nfs_commonkrpc.c \
src/sys/fs/nfs/common/nfs_commonport.c \
src/sys/fs/nfs/common/nfs_commonsubs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/nfs/client

2016-12-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Dec 13 22:17:33 UTC 2016

Modified Files:
src/sys/fs/nfs/client: nfs_clkrpc.c nfs_clnfsiod.c nfs_clnode.c
nfs_clport.c nfs_clrpcops.c nfs_clstate.c nfs_clsubs.c
nfs_clvfsops.c nfs_clvnops.c nfsmount.h nfsnode.h

Log Message:
Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/sys/fs/nfs/client/nfs_clkrpc.c \
src/sys/fs/nfs/client/nfs_clnfsiod.c
cvs rdiff -u -r1.2 -r1.3 src/sys/fs/nfs/client/nfs_clnode.c \
src/sys/fs/nfs/client/nfsmount.h src/sys/fs/nfs/client/nfsnode.h
cvs rdiff -u -r1.1.1.2 -r1.2 src/sys/fs/nfs/client/nfs_clport.c \
src/sys/fs/nfs/client/nfs_clrpcops.c src/sys/fs/nfs/client/nfs_clsubs.c \
src/sys/fs/nfs/client/nfs_clvfsops.c
cvs rdiff -u -r1.3 -r1.4 src/sys/fs/nfs/client/nfs_clstate.c \
src/sys/fs/nfs/client/nfs_clvnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/nfs/nlm

2016-12-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Dec 13 21:58:17 UTC 2016

Modified Files:
src/sys/fs/nfs/nlm: nlm_advlock.c nlm_prot_clnt.c nlm_prot_impl.c
nlm_prot_server.c nlm_prot_svc.c nlm_prot_xdr.c sm_inter_xdr.c

Log Message:
Update for location of newnfs headers, clean up some other #include


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 src/sys/fs/nfs/nlm/nlm_advlock.c
cvs rdiff -u -r1.1.1.1 -r1.2 src/sys/fs/nfs/nlm/nlm_prot_clnt.c \
src/sys/fs/nfs/nlm/nlm_prot_server.c src/sys/fs/nfs/nlm/nlm_prot_svc.c \
src/sys/fs/nfs/nlm/nlm_prot_xdr.c src/sys/fs/nfs/nlm/sm_inter_xdr.c
cvs rdiff -u -r1.3 -r1.4 src/sys/fs/nfs/nlm/nlm_prot_impl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/nfs/server

2016-12-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Dec 13 21:50:32 UTC 2016

Modified Files:
src/sys/fs/nfs/server: nfs_fha_new.c nfs_nfsdcache.c nfs_nfsdkrpc.c
nfs_nfsdport.c nfs_nfsdserv.c nfs_nfsdsocket.c nfs_nfsdstate.c
nfs_nfsdsubs.c

Log Message:
Update locations for new nfs header files.

XXX Some #includes are just disabled (via #if 0) and will need to be
XXX resolved before further progress can be made.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 src/sys/fs/nfs/server/nfs_fha_new.c \
src/sys/fs/nfs/server/nfs_nfsdport.c \
src/sys/fs/nfs/server/nfs_nfsdsocket.c
cvs rdiff -u -r1.3 -r1.4 src/sys/fs/nfs/server/nfs_nfsdcache.c \
src/sys/fs/nfs/server/nfs_nfsdkrpc.c src/sys/fs/nfs/server/nfs_nfsdserv.c \
src/sys/fs/nfs/server/nfs_nfsdstate.c \
src/sys/fs/nfs/server/nfs_nfsdsubs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/nfs

2016-12-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Dec 13 21:44:01 UTC 2016

Modified Files:
src/sys/fs/nfs: files.newnfs

Log Message:
One more option for the opt_ file.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/fs/nfs/files.newnfs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/nfs/client

2016-11-18 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Nov 18 22:58:08 UTC 2016

Modified Files:
src/sys/fs/nfs/client: nfs_clbio.c nfs_clcomsubs.c nfs_clkdtrace.c
nfs_clnode.c nfsmount.h nfsnode.h

Log Message:
More clean-up of #includes


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/fs/nfs/client/nfs_clbio.c
cvs rdiff -u -r1.1.1.2 -r1.2 src/sys/fs/nfs/client/nfs_clcomsubs.c \
src/sys/fs/nfs/client/nfs_clnode.c src/sys/fs/nfs/client/nfsnode.h
cvs rdiff -u -r1.1.1.1 -r1.2 src/sys/fs/nfs/client/nfs_clkdtrace.c \
src/sys/fs/nfs/client/nfsmount.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/nfs

2016-11-18 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Nov 18 22:41:19 UTC 2016

Modified Files:
src/sys/fs/nfs: files.newnfs
Added Files:
src/sys/fs/nfs/client: nfs_clmodule.c
src/sys/fs/nfs/common: nfs_module.c
src/sys/fs/nfs/server: nfs_nfsdmodule.c

Log Message:
Add the initial module(9) infrastructure


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/fs/nfs/files.newnfs
cvs rdiff -u -r0 -r1.1 src/sys/fs/nfs/client/nfs_clmodule.c
cvs rdiff -u -r0 -r1.1 src/sys/fs/nfs/common/nfs_module.c
cvs rdiff -u -r0 -r1.1 src/sys/fs/nfs/server/nfs_nfsdmodule.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/nfs/common

2016-11-18 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Nov 18 22:37:50 UTC 2016

Modified Files:
src/sys/fs/nfs/common: bootp_subr.c krpc_subr.c nfsport.h

Log Message:
Clean up some #includes


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 src/sys/fs/nfs/common/bootp_subr.c \
src/sys/fs/nfs/common/nfsport.h
cvs rdiff -u -r1.5 -r1.6 src/sys/fs/nfs/common/krpc_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/nfs

2016-11-18 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Nov 18 09:58:38 UTC 2016

Modified Files:
src/sys/fs/nfs: files.newnfs

Log Message:
Clean up after the import auto-generate.

At least now it doesn't cause config(1) any problems.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/fs/nfs/files.newnfs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/nfs

2016-11-18 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Nov 18 08:31:30 UTC 2016

Modified Files:
src/sys/fs/nfs: files.newnfs
src/sys/fs/nfs/client: nfs_clbio.c nfs_clstate.c nfs_clvnops.c
src/sys/fs/nfs/common: krpc_subr.c nfs_fha.h nfsm_subs.h
src/sys/fs/nfs/nlm: nlm_prot_impl.c
src/sys/fs/nfs/server: nfs_nfsdcache.c nfs_nfsdkrpc.c nfs_nfsdserv.c
nfs_nfsdstate.c nfs_nfsdsubs.c

Log Message:
Resolve conflicts


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/fs/nfs/files.newnfs
cvs rdiff -u -r1.2 -r1.3 src/sys/fs/nfs/client/nfs_clbio.c \
src/sys/fs/nfs/client/nfs_clstate.c src/sys/fs/nfs/client/nfs_clvnops.c
cvs rdiff -u -r1.4 -r1.5 src/sys/fs/nfs/common/krpc_subr.c
cvs rdiff -u -r1.2 -r1.3 src/sys/fs/nfs/common/nfs_fha.h \
src/sys/fs/nfs/common/nfsm_subs.h
cvs rdiff -u -r1.2 -r1.3 src/sys/fs/nfs/nlm/nlm_prot_impl.c
cvs rdiff -u -r1.2 -r1.3 src/sys/fs/nfs/server/nfs_nfsdcache.c \
src/sys/fs/nfs/server/nfs_nfsdkrpc.c src/sys/fs/nfs/server/nfs_nfsdserv.c \
src/sys/fs/nfs/server/nfs_nfsdstate.c \
src/sys/fs/nfs/server/nfs_nfsdsubs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/nfs

2016-09-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 22 15:57:05 UTC 2016

Modified Files:
src/sys/fs/nfs: files.newnfs

Log Message:
add missing attribute


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/fs/nfs/files.newnfs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/tmpfs

2016-08-26 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Fri Aug 26 21:44:24 UTC 2016

Modified Files:
src/sys/fs/tmpfs: tmpfs_vfsops.c

Log Message:
In the event that loading the root vnode fails, bail out of
tmpfs_mount instead of crashing.

Came up in PR 51436, where kmem issues caused internal allocations to
wrongly fail. However, that could happen for real sometime (e.g.
probably if you tried to mount a new tmpfs when the system was very
low on memory, or possibly for other reasons entirely) and crashing
isn't the ticket.

(This is not a fix for PR 51436)


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/fs/tmpfs/tmpfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/tmpfs

2016-08-22 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Aug 22 23:07:36 UTC 2016

Modified Files:
src/sys/fs/tmpfs: tmpfs_mem.c

Log Message:
Two fixes from rmind

- tmpfs_node_get: restore (decrement) the node count on the error path.
- tmpfs_bytes_max: save the value of uvmexp.freetarg (since it is
  unlocked/racy).


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/fs/tmpfs/tmpfs_mem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/puffs

2016-07-21 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jul 21 18:21:27 UTC 2016

Modified Files:
src/sys/fs/puffs: puffs_vnops.c

Log Message:
replace variable stack declaration with a large enough one and KASSERT.


To generate a diff of this commit:
cvs rdiff -u -r1.204 -r1.205 src/sys/fs/puffs/puffs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/msdosfs

2016-06-30 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Thu Jun 30 09:34:01 UTC 2016

Modified Files:
src/sys/fs/msdosfs: msdosfs_conv.c

Log Message:
Fix false positives when comparing long file names that have the
same first 13 (or some multiple thereof) characters.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/fs/msdosfs/msdosfs_conv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/udf

2016-05-24 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue May 24 09:55:57 UTC 2016

Modified Files:
src/sys/fs/udf: udf.h udf_readwrite.c udf_strat_bootstrap.c
udf_strat_direct.c udf_strat_rmw.c udf_strat_sequential.c
udf_subr.c udf_subr.h

Log Message:
Cleanup VAT writout. To prevent issues with the sequential writing strategy
trying to write on blocks that are lost due to the synchronisation, don't just
bluntly do synchronize device caches, but split out on strategies.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/fs/udf/udf.h
cvs rdiff -u -r1.11 -r1.12 src/sys/fs/udf/udf_readwrite.c
cvs rdiff -u -r1.4 -r1.5 src/sys/fs/udf/udf_strat_bootstrap.c
cvs rdiff -u -r1.13 -r1.14 src/sys/fs/udf/udf_strat_direct.c
cvs rdiff -u -r1.27 -r1.28 src/sys/fs/udf/udf_strat_rmw.c
cvs rdiff -u -r1.14 -r1.15 src/sys/fs/udf/udf_strat_sequential.c
cvs rdiff -u -r1.137 -r1.138 src/sys/fs/udf/udf_subr.c
cvs rdiff -u -r1.19 -r1.20 src/sys/fs/udf/udf_subr.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/udf

2016-05-10 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue May 10 15:23:39 UTC 2016

Modified Files:
src/sys/fs/udf: udf.h udf_subr.c

Log Message:
Rework VAT searching on recordable media. It is now a lot more resilliant to
errors and it allows for VAT searching on crashed writeouts.

While here, make sure the node pointer is always initialised in
udf_get_node().


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/fs/udf/udf.h
cvs rdiff -u -r1.136 -r1.137 src/sys/fs/udf/udf_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/msdosfs

2016-05-07 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat May  7 16:43:02 UTC 2016

Modified Files:
src/sys/fs/msdosfs: msdosfs_fat.c

Log Message:
fix DEBUG build


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/fs/msdosfs/msdosfs_fat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



  1   2   3   4   5   6   >