Age | Commit message (Collapse) | Author |
|
|
|
|
|
* io-read.c (netfs_S_io_read): If desired amount is larger than
symlink length, truncate amount. Actually use WHOLE_LINK to store
link target temporarily. When reading the link target directly,
update *DATALEN.
|
|
|
|
2002-05-13 Marcus Brinkmann <marcus@gnu.org>
* io-version.c: New file.
* Makefile (IOSRCS): Add io-version.c.
* fsstubs.c (netfs_S_io_server_version): Function removed.
* netfs.h (netfs_server_name, netfs_server_version): New external
variables to be defined by the user.
ftpfs/
2002-05-13 Marcus Brinkmann <marcus@gnu.org>
* ftpfs.c (netfs_server_name, netfs_server_version): New
variables.
hostmux/
2002-05-13 Marcus Brinkmann <marcus@gnu.org>
* hostmux.c (netfs_server_name, netfs_server_version): New
variables.
nfs/
2002-05-13 Marcus Brinkmann <marcus@gnu.org>
* main.c: Include <version.h>.
(netfs_server_name, netfs_server_version, argp_program_version):
New variables.
trans/
2002-05-13 Marcus Brinkmann <marcus@gnu.org>
* fakeroot.c (netfs_server_name, netfs_server_version): New
variables.
usermux/
2002-05-13 Marcus Brinkmann <marcus@gnu.org>
* usermux.c (netfs_server_name, netfs_server_version): New
variables.
|
|
|
|
|
|
|
|
|
|
|
|
* file-get-translator.c (netfs_S_file_get_translator): If
asprintf() fails, set ERR to errno.
* dir-lookup.c (netfs_S_dir_lookup): Catch if asprintf() fails and
return ENOMEM. If netfs_make_protid() fails, set ERROR to errno,
not ENOMEM. Do this before freeing USER.
* dir-mkfile.c (netfs_S_dir_mkfile): If netfs_make_protid() fails,
set ERROR to errno and free USER.
* file-exec.c (netfs_S_file_exec): Likewise.
Reported by Igor Khavkine <i_khavki@alcor.concordia.ca>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* netfs.h: Added netfs_get_storage_info.
* file-get-storage-info.c (netfs_S_get_storage_info): Calls
netfs_get_storage_info instead of providing default response.
* file-get-storage-info-default.c: New file.
(netfs_get_storage_info): Provides default response.
|
|
* netfs.h: Fix comment for netfs_nref (finally).
|
|
* netfs.h: Documentation fixes.
|
|
2000-12-30 Marcus Brinkmann <marcus@gnu.org>
* netfs.h: Revert doc "fix" of netfs_attempt_chmod.
|
|
* netfs.h: Merge Neals words into documentation of netfs_nput,
netfs_nrele, netfs_nref.
|
|
|
|
* netfs.h (struct node): Adjust comment fixes by last change
to be more in line with similar comments elsewhere.
* make-node.c (netfs_make_node): Return 0 if malloc does.
Reported by Neal H Walfield <neal@cs.uml.edu>.
2000-12-29 Neal H Walfield <neal@cs.uml.edu>
* dir-lookup.c (netfs_S_dir_lookup): Do not bother zeroing np, it
happens later anyway. Replace bcopy with memcpy.
* file-get-translator.c (netfs_S_file_get_translator): Replace
bcopy with memcpy.
* io-seek.c (netfs_S_io_seek): Only get the lock if we need it.
* io-stat.c (netfs_S_io_stat): Replace bcopy with memcpy.
* io-write.c (netfs_S_io_write): Wait until the lock is needed.
* netfs.h: Complete documentation revision. The locking protocol
is now very explicit.
* nput.c (netfs_nput): Added comment.
* nrele.c (netfs_nrele): Likewise.
* set-get-trans.c: Likewise.
|
|
|
|
* file-exec.c (netfs_S_file_exec): Don't use MAKE_SEND in Hurd
RPC.
* init-startup.c (netfs_startup): Likewise.
|
|
|
|
|
|
|
|
|
|
* fsstubs.c (netfs_S_io_pathconf): Delete function.
* io-pathconf.c: New file.
* Makefile (IOSRCS): Add io-pathconf.c.
|
|
* iostubs.c (netfs_S_io_map_segment): New function.
|
|
|
|
|
|
* file-get-storage-info.c (netfs_S_file_get_storage_info): Use
mmap instead of vm_allocate.
* file-get-translator.c (netfs_S_file_get_translator): Likewise.
* io-read.c (netfs_S_io_read): Likewise.
|
|
|
|
* io-read.c (netfs_S_io_read): Use munmap instead of
vm_deallocate.
* release-protid.c (netfs_release_protid): Likewise.
|
|
* nref.c: New file; guts from netfs.h.
* nrele.c: Likewise.
* nput.c: Likewise.
* netfs.h (netfs_nref, netfs_nrele, netfs_nput): Replace inline
definitions with normal declarations.
(NETFS_EI): Remove macro.
* netfs.c: Deleted file.
* Makefile (OTHERSRCS): Add nref.c, nrele.c, nput.c. Remove
netfs.c.
|
|
* dir-lookup.c (netfs_S_dir_lookup): Only set newnode to 1 if the
lookup does not need to be retried as a result of getting EEXIST.
|
|
|
|
* io-revoke.c (netfs_S_io_revoke): Protect the revocation by
blocking other rpcs.
|
|
* io-revoke.c (netfs_S_io_revoke): Release lock before iteration.
|
|
|
|
* io-revoke.c: New file.
* Makefile (IOSRCS): Add iorevoke.c.
|
|
* file-utimes.c (netfs_S_file_utimes): Understand new semantics
for setting to current time.
* netfs.h (netfs_attempt_utimes): Update documentation.
|
|
|
|
|
|
* dir-lookup.c (netfs_S_dir_lookup): Don't require the node to be
a directory in the null pathname case.
|
|
|
|
|