summaryrefslogtreecommitdiff
path: root/libdiskfs
AgeCommit message (Collapse)Author
2008-08-262008-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* 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.
2008-08-202008-08-20 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* dir-lookup.c (diskfs_S_dir_lookup): Revert 2008-06-06 change, as it breaks when np == dnp.
2008-07-01Update copyright years.Thomas Schwinge
2008-07-01Correct file name.Thomas Schwinge
2008-06-10[doc/ChangeLog]Samuel Thibault
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.
2008-06-092008-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* dir-lookup.c (diskfs_S_dir_lookup): Unlock np in case of errors.
2007-12-11Update list of copyright years.Thomas Schwinge
2007-11-162007-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* 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>.
2007-11-132007-11-13 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* node-times.c (diskfs_set_node_times): Adapt to ``struct stat'' changes.
2007-10-052007-10-05 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* node-times.c (diskfs_set_node_atime): Fix typo from last commit.
2007-10-05Update copyright years.Thomas Schwinge
2007-08-20[doc/ChangeLog]Samuel Thibault
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.
2007-04-042007-04-04 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* 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>.
2006-06-282006-06-28 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* Makefile (HURDLIBS): Add `pager'.
2006-03-142006-03-15 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* priv.h: Include <argp.h>.
2006-03-05.Roland McGrath
2006-03-052006-03-05 Roland McGrath <roland@frob.com>Roland McGrath
* io-seek.c (diskfs_S_io_seek): Return EINVAL if file pointer would become negative.
2004-02-11.Roland McGrath
2004-02-112004-02-10 Roland McGrath <roland@frob.com>Roland McGrath
* opts-runtime.c (diskfs_runtime_argp): Include <argp.h>.
2003-10-102003-10-11 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* notify-nosenders.c, notify-stubs.c: Delete obsolete files.
2003-07-282003-06-11 Ognyan Kulev <ogi@fmi.uni-sofia.bg>Jeff Bailey
* 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-27hurd/Marcus Brinkmann
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.
2002-06-13.Roland McGrath
2002-06-132002-06-13 Roland McGrath <roland@frob.com>Roland McGrath
* dir-readdir.c (diskfs_S_dir_readdir): Revert last change.
2002-06-11.Roland McGrath
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* io-identity.c (diskfs_S_io_identity): Use ino_t for FILENO.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* dir-readdir.c (diskfs_S_dir_readdir): Use vm_size_t for AMT.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2002-05-27.Roland McGrath
2002-05-272002-05-26 Roland McGrath <roland@frob.com>Roland McGrath
* dir-unlink.c (diskfs_S_dir_unlink): Return EPERM instead of EISDIR, as per POSIX.
2002-05-13.Roland McGrath
2002-05-132002-05-12 Roland McGrath <roland@frob.com>Roland McGrath
* dir-lookup.c (diskfs_S_dir_lookup): Fail with EACCES instead of EOPNOTSUPP when attempting to open a special file for io or exec.
2002-05-12.Roland McGrath
2002-05-122002-05-11 Roland McGrath <roland@frob.com>Roland McGrath
* trans-callback.c (_diskfs_translator_callback1_fn): Add an assert that netfs_get_translator not fail with EOPNOTSUPP.
2002-05-112001-11-20 Neal H Walfield <neal@cs.uml.edu>Marcus Brinkmann
* diskfs.h (diskfs_boot_filesystem): Documentation fix.
2002-05-08.Roland McGrath
2002-05-082002-05-08 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2002-05-082002-05-08 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2002-05-082002-05-08 Roland McGrath <roland@frob.com>Roland McGrath
* io-map-cntl.c (diskfs_S_io_map_cntl): u_int -> vm_address_t
2002-05-082002-05-08 Roland McGrath <roland@frob.com>Roland McGrath
* sync-interval.c (diskfs_set_sync_interval): Cast int to intptr_t before any_t.
2002-05-082002-05-08 Roland McGrath <roland@frob.com>Roland McGrath
* disk-pager.c (fault_handler): Use %z format for sc_pc.
2002-05-082002-05-08 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2002-05-08.Roland McGrath
2002-05-082002-05-08 Roland McGrath <roland@frob.com>Roland McGrath
* io-restrict-auth.c (diskfs_S_io_restrict_auth): Remove unused var.
2002-05-05.Roland McGrath
2002-05-052002-05-04 Roland McGrath <roland@frob.com>Roland McGrath
* io-restrict-auth.c (diskfs_S_io_restrict_auth): Use iohelp_restrict_iouser.
2002-05-052002-04-02 Roland McGrath <roland@frob.com>Roland McGrath
* node-make.c (diskfs_make_node): Return early if malloc fails.
2002-05-012002-04-30 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* 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.
2002-03-26*** empty log message ***Neal H. Walfield
2002-03-262002-03-23 James A. Morrison <ja2morri@uwaterloo.ca>Neal H. Walfield
* init-startup.c (_diskfs_init_completed): Use error, not fprintf.