OpenBSD CVS

CVS log for src/sys/tmpfs/tmpfs_specops.c


[BACK] Up to [local] / src / sys / tmpfs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.9 / (download) - annotate - [select for diffs], Sun Jun 26 05:20:42 2022 UTC (23 months, 2 weeks ago) by visa
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, HEAD
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)

Remove unused VOP_POLL().

OK mpi@

Revision 1.8 / (download) - annotate - [select for diffs], Sat Oct 2 08:51:41 2021 UTC (2 years, 8 months ago) by semarie
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.7: +12 -12 lines
Diff to previous 1.7 (colored)

vfs: merge *_badop to vop_generic_badop

It replaces spec_badop, fifo_badop, dead_badop and mfs_badop, which
are only calls to panic(9), to one unique function vop_generic_badop().

No intented behaviour changes (outside the panic message which isn't
the same).

ok mpi@

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jun 29 16:15:37 2021 UTC (2 years, 11 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (colored)

remove unused prototype
OK deraadt@

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jan 20 23:21:56 2020 UTC (4 years, 4 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

struct vops is not modified during runtime so use const which moves each
into read-only data segment.
OK deraadt@ tedu@

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jan 21 22:26:52 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.4: +1 -6 lines
Diff to previous 1.4 (colored)

remove #if 0 cdefs.h blocks

Revision 1.4 / (download) - annotate - [select for diffs], Mon Dec 23 20:35:19 2013 UTC (10 years, 5 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.3: +14 -12 lines
Diff to previous 1.3 (colored)

sync specvops with ffs (fixing spec_open along the way)
ok espie

Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 10 11:00:28 2013 UTC (10 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

A few fixes from Pedro Martelletto, adapted from
https://github.com/bitrig/bitrig/commits/pedro_tmpfs_fixes

7efd381ac3:

# mkdir -p x/y
# mv x/y/. z (or mv x/y/.. z)
(panic)

264ecd2c7b:

# mknod x b 100 100 (can be any block/character device)
# ls -lR /
(panic)

7da08d22fd:

# mkfifo x (or mknod x)
# mv x y
(panic)

af0666c65a:

# mount -t tmpfs -o -n16 tmpfs /mnt (create tmpfs with 16 inodes limit)
# cd /mnt
# touch x
# for i in `jot 100 1 100`; do ln -s x $i; done (create 100 symlinks, =
they "succeed" even though they failed)
# ls -lart

7e9296a6f8:

# mkdir x
# touch x/y
# chflags uappnd x (or sappnd)
# rm x/y

936b9cf257:

# mkdir -p x/y
# rmdir x/y/..
(panic)

de541406ef:

# touch x
# ln x y
# stat -f %c x
# sleep 10
# rm y
# stat -f %c x

okay guenther@, krw@

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 3 10:37:02 2013 UTC (11 years ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

sprinkle $OpenBSD$, pointed out by pedro

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jun 1 14:37:32 2013 UTC (11 years ago) by espie
Branch: MAIN

import tmpfs code, originally from netbsd.
heavy lifting by Pedro Martelletto, timestamp fixes by me.

THIS IS NOT ENABLED YET, AND REQUIRES UVM CHANGES AND REVIEW.
Imported, so that working on it can be mostly done in tree with less painful
diff exchanges, and that we have history of further changes.

okay tedu@, deraadt@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.