Age | Commit message (Collapse) | Author |
|
|
|
* 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.
|
|
|
|
|
|
|
|
|
|
* init-loop.c (netfs_server_loop): New args for
ports_manage_port_operations_multithread.
|
|
|
|
* file-exec.c: Include <fcntl.h> instead of <fcntlbits.h>.
Suggested by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu).
|
|
|
|
* file-chmod.c (netfs_S_file_chmod): Turn off any read-only bits.
|
|
|
|
|