Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   hannken
Date:           Fri Feb 11 10:55:15 UTC 2022

Modified Files:
        src/sbin/fsck_v7fs: main.c pathname.c
        src/sys/fs/v7fs: v7fs_dirent.c v7fs_dirent.h v7fs_file.c v7fs_file.h
            v7fs_file_util.c v7fs_vnops.c
        src/usr.sbin/makefs/v7fs: v7fs_populate.c

Log Message:
A component name is a counted string (cn_nameptr, cn_namelen),
not a zero terminated string cn_nameptr.

Change the following operations to work with counted strings:

v7fs_file_lookup_by_name()
v7fs_file_allocate()
v7fs_file_deallocate()
v7fs_directory_add_entry()
v7fs_directory_remove_entry()
v7fs_file_rename()
v7fs_file_link()
v7fs_dirent_filename()

Adapt all vnode operations with component names as argument.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sbin/fsck_v7fs/main.c \
    src/sbin/fsck_v7fs/pathname.c
cvs rdiff -u -r1.2 -r1.3 src/sys/fs/v7fs/v7fs_dirent.c \
    src/sys/fs/v7fs/v7fs_file.h
cvs rdiff -u -r1.1 -r1.2 src/sys/fs/v7fs/v7fs_dirent.h
cvs rdiff -u -r1.6 -r1.7 src/sys/fs/v7fs/v7fs_file.c
cvs rdiff -u -r1.4 -r1.5 src/sys/fs/v7fs/v7fs_file_util.c
cvs rdiff -u -r1.33 -r1.34 src/sys/fs/v7fs/v7fs_vnops.c
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/makefs/v7fs/v7fs_populate.c

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




Home | Main Index | Thread Index | Old Index