Age | Commit message (Collapse) | Author |
|
* dir-lookup.c (diskfs_S_dir_lookup): Initialize NEWPI and NEWPO to
0, set back to 0 when they do not need to be referenced any more,
dereference them if needed just before exit, after all unlocking.
|
|
* dir-lookup.c (diskfs_S_dir_lookup): Revert 2008-06-06 change, as it
breaks when np == dnp.
|
|
|
|
|
|
2008-06-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
* hurd.texi (Diskfs Callbacks): Add const qualifier to parameter
`name' of function diskfs_lookup.
[libdiskfs/ChangeLog]
2008-06-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
* dir-lookup.c (diskfs_lookup): Add const qualifier to parameter
`name'.
* dir-lookup.h (diskfs_lookup): Likewise.
|
|
* dir-lookup.c (diskfs_S_dir_lookup): Unlock np in case of errors.
|
|
|
|
* dir-rename.c (diskfs_S_dir_rename): Call diskfs_nput (tnp) in
the EISDIR and EMLINK cases too. Reported by Olaf Buddenhagen
<olafbuddenhagen@gmx.net>.
|
|
* node-times.c (diskfs_set_node_times): Adapt to ``struct stat''
changes.
|
|
* node-times.c (diskfs_set_node_atime): Fix typo from last commit.
|
|
|
|
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
* hurd.texi: Document diskfs_set_node_atime.
[ext2fs/ChangeLog]
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
* dir.c (diskfs_lookup_hard, diskfs_dirempty): Call
diskfs_set_node_atime instead of setting dp->dn_set_atime.
[fatfs/ChangeLog]
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
* dir.c (diskfs_lookup_hard, diskfs_dirempty): Call
diskfs_set_node_atime instead of setting dp->dn_set_atime.
[libdiskfs/ChangeLog]
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
* diskfs.h (diskfs_set_node_atime): New declaration.
* node-times.c (diskfs_set_node_atime): New function.
[ufs/ChangeLog]
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
* dir.c (diskfs_lookup_hard, diskfs_dirempty): Call
diskfs_set_node_atime instead of setting dp->dn_set_atime.
* inode.c (read_symlink_hook): Likewise.
|
|
* opts-std-startup.c (parse_startup_opt)
<_diskfs_no_inherit_dir_group>: Swap the options into the correct
order. Reported by Olaf Buddenhagen <olafbuddenhagen@gmx.net>.
|
|
* Makefile (HURDLIBS): Add `pager'.
|
|
* priv.h: Include <argp.h>.
|
|
|
|
* io-seek.c (diskfs_S_io_seek): Return EINVAL if file pointer would
become negative.
|
|
|
|
* opts-runtime.c (diskfs_runtime_argp): Include <argp.h>.
|
|
* notify-nosenders.c, notify-stubs.c: Delete obsolete files.
|
|
* dir-renamed.c (diskfs_rename_dir): Check permissions to remove
FROMNAME before any modification could take place. Check result
of removing the from node.
|
|
2002-06-26 Marcus Brinkmann <marcus@gnu.org>
* fs_notify.defs: Add MsgOption for send timeout.
(dir_changed): Changed to simpleroutine. Change type of first
argument to fs_notify_t. Add TICKNO argument.
(file_changed): Likewise.
* hurd_types.defs (fs_notify_t): New type.
* hurd_types.h (fs_notify_t): Likewise.
libdiskfs/
2002-06-26 Marcus Brinkmann <marcus@gnu.org>
* Makefile (DIST_FILES): Variable removed.
(MIGSTUBS): Use fs_notifyUser.o, not ourfs_notifyUser.o.
* ourfs_notify.defs: File removed.
* diskfs.h (struct node): New members DIRMOD_TICK and
FILEMOD_TICK.
* node-make.c (diskfs_make_node): Initialize DIRMOD_TICK and
FILEMOD_TICK.
* dir-chg.c: Include "fs_notify_U.h" instead "ourfs_notify_U.h".
(diskfs_S_dir_notice_changes): Use new dir_changed invocation
instead nowait_dir_changed.
(diskfs_notice_dirchange): Likewise. Increase tick number.
Ignore send timeout error.
* file-chg.c: Include "fs_notify_U.h" instead "ourfs_notify_U.h".
(diskfs_S_file_notice_changes): Use new file_changed invocation
instead nowait_file_changed.
(diskfs_notice_filechange): Likewise. Increase tick number.
Ignore send timeout error.
console/
2002-06-27 Marcus Brinkmann <marcus@gnu.org>
* Makefile (MIGSTUBS): Add fs_notifyUser.o.
(MIGSFLAGS): New variable.
* console.c: Include "fs_notify_U.h".
(struct modreq): New structure.
(struct cons): New members DIRMOD_REQS and DIRMOD_TICK.
(cons_notice_dirchange): New function.
(vcons_lookup): Call cons_notice_dirchange.
(netfs_S_dir_notice_changes): New function.
(main): Initialize new members in CONS.
* display.c (nowait_file_changed): Update to new interface (new
argument TICKNO).
(do_mach_notify_msg_accepted): Call nowait_file_changed with new argument.
(display_notice_changes): Likewise.
(display_notice_filechange): Likewise.
|
|
|
|
* dir-readdir.c (diskfs_S_dir_readdir): Revert last change.
|
|
|
|
* io-identity.c (diskfs_S_io_identity): Use ino_t for FILENO.
|
|
* dir-readdir.c (diskfs_S_dir_readdir): Use vm_size_t for AMT.
|
|
* diskfs.h (struct node): Use io_statbuf_t instead of struct stat.
(struct node): Use ino64_t for cache_id.
(struct node): Use loff_t instead of off_t.
(diskfs_grow, diskfs_truncate, diskfs_node_rdwr): Likewise.
(diskfs_notice_filechange): Likewise.
(diskfs_cached_lookup): Use ino64_t for CACHE_ID argument.
|
|
|
|
* dir-unlink.c (diskfs_S_dir_unlink): Return EPERM instead of EISDIR,
as per POSIX.
|
|
|
|
* dir-lookup.c (diskfs_S_dir_lookup): Fail with EACCES instead of
EOPNOTSUPP when attempting to open a special file for io or exec.
|
|
|
|
* trans-callback.c (_diskfs_translator_callback1_fn): Add an assert
that netfs_get_translator not fail with EOPNOTSUPP.
|
|
* diskfs.h (diskfs_boot_filesystem): Documentation fix.
|
|
|
|
* dir-lookup.c (diskfs_S_dir_lookup): int -> size_t
* dir-readdir.c (diskfs_S_dir_readdir): Likewise.
* file-get-trans.c (diskfs_S_file_get_translator): Likewise.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
* diskfs.h (diskfs_append_args): unsigned -> size_t in argument type.
(diskfs_append_std_options): Likewise.
(diskfs_get_directs): Likewise.
* file-exec.c (diskfs_S_file_exec): Likewise.
* file-get-fs-opts.c (diskfs_S_file_get_fs_options): Likewise.
* file-get-trans.c (diskfs_S_file_get_translator): Likewise.
* file-getfh.c (diskfs_S_file_getfh): Likewise.
* file-set-trans.c (diskfs_S_file_set_translator): Likewise.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
* io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise.
* opts-append-std.c (diskfs_append_std_options): Likewise.
* opts-get.c (diskfs_append_args): Likewise.
* dir-readdir.c (diskfs_S_dir_readdir): Likewise.
|
|
* dir-lookup.c (diskfs_S_dir_lookup): int -> size_t
* dir-readdir.c (diskfs_S_dir_readdir): Likewise.
* file-get-trans.c (diskfs_S_file_get_translator): Likewise.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
|
|
* io-map-cntl.c (diskfs_S_io_map_cntl): u_int -> vm_address_t
|
|
* sync-interval.c (diskfs_set_sync_interval): Cast int to intptr_t
before any_t.
|
|
* disk-pager.c (fault_handler): Use %z format for sc_pc.
|
|
* diskfs.h (diskfs_append_args): unsigned -> size_t in argument type.
(diskfs_append_std_options): Likewise.
(diskfs_get_directs): Likewise.
* file-exec.c (diskfs_S_file_exec): Likewise.
* file-get-fs-opts.c (diskfs_S_file_get_fs_options): Likewise.
* file-get-trans.c (diskfs_S_file_get_translator): Likewise.
* file-getfh.c (diskfs_S_file_getfh): Likewise.
* file-set-trans.c (diskfs_S_file_set_translator): Likewise.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
* io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise.
* opts-append-std.c (diskfs_append_std_options): Likewise.
* opts-get.c (diskfs_append_args): Likewise.
* dir-readdir.c (diskfs_S_dir_readdir): Likewise.
|
|
|
|
* io-restrict-auth.c (diskfs_S_io_restrict_auth): Remove unused var.
|
|
|
|
* io-restrict-auth.c (diskfs_S_io_restrict_auth): Use
iohelp_restrict_iouser.
|
|
* node-make.c (diskfs_make_node): Return early if malloc fails.
|
|
* priv.h: Add OPT_NO_INHERIT_DIR_GROUP and OPT_INHERIT_DIR_GROUP.
(_diskfs_no_inherit_dir_group): New declaration.
* node-create.c (_diskfs_no_inherit_dir_group): New variable.
(diskfs_create_node): Implement SysV group behaviour.
* opts-common.c (diskfs_common_options): Add
--no-inherit-dir-group (--nogrpdir, --sysvgroups) and
--inherit-dir-group (--grpdir, --bsdgroups).
* opts-append-std.c (diskfs_append_std_options): Add
--no-inherit-dir-group if set.
* opts-std-startup.c (parse_startup_opt): Add toggle for
_diskfs_no_inherit_dir_group.
* opts-std-runtime.c (struct parse_hook): Add noinheritdirgroup.
(set_opts): Handle H->noinheritdirgroup.
(parse_opt): Initialize H->noinheritdirgroup. Handle
OPT_NO_INHERIT_DIR_GROUP and OPT_INHERIT_DIR_GROUP.
|
|
|
|
* init-startup.c (_diskfs_init_completed): Use error, not
fprintf.
|