summaryrefslogtreecommitdiff
path: root/sys/fs/udf/udf_vfsops.c
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/5.5.0_cvscvs2svn2006-05-231-1/+1
| | | | | | 'RELENG_5_5_0_RELEASE'. This commit was manufactured to restore the state of the 5.5-RELEASE image.
* Merge udf.h:1.10 and udp_vfsops.c:1.27 from HEAD to RELENG_5:Robert Watson2005-02-251-1/+0
| | | | | | | | | Remove basically unused root_vp pointer in udfmount. Discussed with: scottl Notes: svn path=/stable/5/; revision=142494
* Put a version element in the VFS filesystem configuration structurePoul-Henning Kamp2004-07-301-3/+4
| | | | | | | | | | | | | | | | | | | | | and refuse initializing filesystems with a wrong version. This will aid maintenance activites on the 5-stable branch. s/vfs_mount/vfs_omount/ s/vfs_nmount/vfs_mount/ Name our filesystems mount function consistently. Eliminate the namiedata argument to both vfs_mount and vfs_omount. It was originally there to save stack space. A few places abused it to get hold of some credentials to pass around. Effectively it is unused. Reorganize the root filesystem selection code. Notes: svn path=/head/; revision=132902
* Make VFS_ROOT() and vflush() take a thread argument.Alfred Perlstein2004-07-121-2/+2
| | | | | | | | | This is to allow filesystems to decide based on the passed thread which vnode to return. Several filesystems used curthread, they now use the passed thread. Notes: svn path=/head/; revision=132023
* First half of making UDF be endian-clean. This addresses the vfsops side.Scott Long2004-06-231-21/+23
| | | | Notes: svn path=/head/; revision=130986
* Catch all cases where bread() returns an error and a valid *bp, and releaseScott Long2004-03-301-0/+2
| | | | | | | | | the *bp. Obtained from: DragonFlyBSD Notes: svn path=/head/; revision=127603
* Add hooks for translating directories entries using the iconv methods.Scott Long2003-11-051-3/+44
| | | | | | | Submitted by: imura@ryu16.org Notes: svn path=/head/; revision=122102
* Consistently use the BSD u_int and u_short instead of the SYSV uint andJohn Baldwin2003-08-071-2/+2
| | | | | | | | | | ushort. In most of these files, there was a mixture of both styles and this change just makes them self-consistent. Requested by: bde (kern_ktrace.c) Notes: svn path=/head/; revision=118607
* Add a "int fd" argument to VOP_OPEN() which in the future willPoul-Henning Kamp2003-07-261-1/+1
| | | | | | | | | | | | contain the filedescriptor number on opens from userland. The index is used rather than a "struct file *" since it conveys a bit more information, which may be useful to in particular fdescfs and /dev/fd/* For now pass -1 all over the place. Notes: svn path=/head/; revision=118047
* Initialize struct vfsops C99-sparsely.Poul-Henning Kamp2003-06-121-23/+18
| | | | | | | | Submitted by: hmp Reviewed by: phk Notes: svn path=/head/; revision=116271
* Eliminate the separate malloc type for the sparing table.Scott Long2003-05-041-3/+2
| | | | Notes: svn path=/head/; revision=114653
* Implement the node cache as a hash table.Scott Long2003-05-041-1/+6
| | | | Notes: svn path=/head/; revision=114632
* Rename vfs_stdsync function to vfs_stdnosync which matches moreAlexander Kabaev2003-03-111-1/+1
| | | | | | | | | | | | | | | | closely what function is really doing. Update all existing consumers to use the new name. Introduce a new vfs_stdsync function, which iterates over mount point's vnodes and call FSYNC on each one of them in turn. Make nwfs and smbfs use this new function instead of rolling their own identical sync implementations. Reviewed by: jeff Notes: svn path=/head/; revision=112119
* Back out M_* changes, per decision of the TRB.Warner Losh2003-02-191-1/+1
| | | | | | | Approved by: trb Notes: svn path=/head/; revision=111119
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.Alfred Perlstein2003-01-211-1/+1
| | | | | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT. Notes: svn path=/head/; revision=109623
* Regularize the vop_stdlock'ing protocol across all the filesystemsKirk McKusick2002-10-141-2/+0
| | | | | | | | | | | | | | | | | | | | | | | that use it. Specifically, vop_stdlock uses the lock pointed to by vp->v_vnlock. By default, getnewvnode sets up vp->v_vnlock to reference vp->v_lock. Filesystems that wish to use the default do not need to allocate a lock at the front of their node structure (as some still did) or do a lockinit. They can simply start using vn_lock/VOP_UNLOCK. Filesystems that wish to manage their own locks, but still use the vop_stdlock functions (such as nullfs) can simply replace vp->v_vnlock with a pointer to the lock that they wish to have used for the vnode. Such filesystems are responsible for setting the vp->v_vnlock back to the default in their vop_reclaim routine (e.g., vp->v_vnlock = &vp->v_lock). In theory, this set of changes cleans up the existing filesystem lock interface and should have no function change to the existing locking scheme. Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=105077
* Factor out some ugle code that's shared by udf_readdir and udf_lookup.Scott Long2002-08-151-1/+11
| | | | | | | | | Significantly de-obfuscate udf_lookup Inspired By: tes@sgi.com Notes: svn path=/head/; revision=101890
* - Replace v_flag with v_iflag and v_vflagJeff Roberson2002-08-041-1/+1
| | | | | | | | | | | | | | | | | | - v_vflag is protected by the vnode lock and is used when synchronization with VOP calls is needed. - v_iflag is protected by interlock and is used for dealing with vnode management issues. These flags include X/O LOCK, FREE, DOOMED, etc. - All accesses to v_iflag and v_vflag have either been locked or marked with mp_fixme's. - Many ASSERT_VOP_LOCKED calls have been added where the locking was not clear. - Many functions in vfs_subr.c were restructured to provide for stronger locking. Idea stolen from: BSD/OS Notes: svn path=/head/; revision=101308
* Unbreak LINT; sort the includes so that functions are explicitlyMark Murray2002-07-161-8/+8
| | | | | | | declared. Remove duplicate includes. Notes: svn path=/head/; revision=100164
* Convert UDF to nmount.Maxime Henrion2002-06-151-16/+28
| | | | | | | Reviewed by: scottl Notes: svn path=/head/; revision=98265
* Sync with UDF p4 tree: Use POSIX integer types instead of BSD types.Jeroen Ruigrok van der Werven2002-04-151-7/+7
| | | | Notes: svn path=/head/; revision=94795
* Actually add the UDF files!Scott Long2002-04-141-0/+744
Notes: svn path=/head/; revision=94663