History log of /src/sys/fs/udf/udf_rename.c |
Revision | | Date | Author | Comments |
1.16 |
| 18-May-2024 |
thorpej | Move the include of <sys/malloc.h> to where it's truly needed.
|
1.15 |
| 02-Jun-2023 |
andvar | follow the steps of Andrew Doran (ad) commit and fix more s/loose/lose/ typos. also s/beyound/beyond/ and few others along the way, mainly in comments.
|
1.14 |
| 20-Oct-2021 |
thorpej | Overhaul of the EVFILT_VNODE kevent(2) filter:
- Centralize vnode kevent handling in the VOP_*() wrappers, rather than forcing each individual file system to deal with it (except VOP_RENAME(), because VOP_RENAME() is a mess and we currently have 2 different ways of handling it; at least it's reasonably well-centralized in the "new" way). - Add support for NOTE_OPEN, NOTE_CLOSE, NOTE_CLOSE_WRITE, and NOTE_READ, compatible with the same events in FreeBSD. - Track which kevent notifications clients are interested in receiving to avoid doing work for events no one cares about (avoiding, e.g. taking locks and traversing the klist to send a NOTE_WRITE when someone is merely watching for a file to be deleted, for example).
In support of the above:
- Add support in vnode_if.sh for specifying PRE- and POST-op handlers, to be invoked before and after vop_pre() and vop_post(), respectively. Basic idea from FreeBSD, but implemented differently. - Add support in vnode_if.sh for specifying CONTEXT fields in the vop_*_args structures. These context fields are used to convey information between the file system VOP function and the VOP wrapper, but do not occupy an argument slot in the VOP_*() call itself. These context fields are initialized and subsequently interpreted by PRE- and POST-op handlers. - Version VOP_REMOVE(), uses the a context field for the file system to report back the resulting link count of the target vnode. Return this in tmpfs, udf, nfs, chfs, ext2fs, lfs, and ufs.
NetBSD 9.99.92.
|
1.13 |
| 17-Jan-2020 |
ad | 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.
|
1.12 |
| 10-Nov-2014 |
riz | branches: 1.12.20; 1.12.26; Revert previous, it is actually needed. (builds are failing)
|
1.11 |
| 10-Nov-2014 |
maxv | Do not uselessly include <sys/malloc.h>.
|
1.10 |
| 16-Jul-2013 |
reinoud | branches: 1.10.4; 1.10.8; 1.10.12; Remove udf_node * as state variables and add the loop invariants UFS and tmpfs carry to make it easier to debug.
|
1.9 |
| 15-Jul-2013 |
reinoud | First step in rewriting the genealogy case
|
1.8 |
| 13-Jul-2013 |
reinoud | udf_gro_genealogy() : source and destination should never be the same on call, KASSERT it instead of checking for it.
|
1.7 |
| 13-Jul-2013 |
reinoud | vp is used, so don't (void) it
|
1.6 |
| 13-Jul-2013 |
reinoud | Rework udf_gro_rename() to be more linear instead of nesting if/else branching.
|
1.5 |
| 12-Jul-2013 |
reinoud | In case there is trouble determining the number of entries in a directory, return its not empty to be on the safe side.
|
1.4 |
| 11-Jul-2013 |
reinoud | Resort to the easiest way to check if a directory is deleted: the flag that tells that there is no FID (dirent) pointing to it anymore.
|
1.3 |
| 11-Jul-2013 |
reinoud | Small cleanup
|
1.2 |
| 10-Jul-2013 |
reinoud | Remove the dirent checks and references. UDF doesn't need/use them on rename so just to make sure, we remove all references/checks to not trigger bugs thats are not really ours.
|
1.1 |
| 10-Jul-2013 |
reinoud | Implement udf_rename() using the new genfs_rename() framework.
Fixes PR kern/47986
|
1.10.12.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.10.12.1 |
| 16-Jul-2013 |
tls | file udf_rename.c was added on branch tls-maxphys on 2014-08-20 00:04:28 +0000
|
1.10.8.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.10.8.1 |
| 16-Jul-2013 |
yamt | file udf_rename.c was added on branch yamt-pagecache on 2014-05-22 11:41:02 +0000
|
1.10.4.2 |
| 28-Aug-2013 |
rmind | sync with head
|
1.10.4.1 |
| 16-Jul-2013 |
rmind | file udf_rename.c was added on branch rmind-smpnet on 2013-08-28 23:59:35 +0000
|
1.12.26.1 |
| 17-Jan-2020 |
ad | Sync with head.
|
1.12.20.1 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|