CVS log for xfs-linux/xfs_utils.c

[BACK] Up to [Development] / xfs-linux

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.85 / (download) - annotate - [select for diffs], Wed Jul 23 16:32:19 2008 UTC (9 years, 2 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.84: +2 -2 lines
Diff to previous 1.84 (unified)

In several places we directly convert from the XFS inode
to the linux (VFS) inode by a simple deference of ip->i_vnode.
We should not do this - a helper function should be used to
extract the VFS inode from the XFS inode.

Introduce the function VFS_I() to extract the VFS inode
from the XFS inode. The name was chosen to match XFS_I() which
is used to extract the XFS inode from the VFS inode.

Version 2:
o don't use vn_to_inode() and inode_to_vn() functions as they
  are not needed

Signed-off-by: Dave Chinner <david@fromorbit.com>
Merge of xfs-linux-melb:xfs-kern:31720a by kenmcd.

Revision 1.84 / (download) - annotate - [select for diffs], Mon Apr 21 06:18:18 2008 UTC (9 years, 5 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.83: +0 -43 lines
Diff to previous 1.83 (unified)

remove manual lookup from xfs_rename and simplify locking

->rename already gets the target inode passed if it exits.  Pass it down
to xfs_rename so that we can avoid looking it up again.  Also simplify
locking as the first lock section in xfs_rename can go away now:  the
isdir is an invariant over the lifetime of the inode, and new_parent and
the nlink check are namespace topology protected by i_mutex in the VFS.
The projid check needs to move into the second lock section anyway to
not be racy.

Also kill the now unused xfs_dir_lookup_int and remove the now-unused
first_locked argumet to xfs_lock_inodes.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:30903a by kenmcd.

  remove manual lookup from xfs_rename and simplify locking

Revision 1.83 / (download) - annotate - [select for diffs], Mon Apr 21 06:17:24 2008 UTC (9 years, 5 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.82: +1 -1 lines
Diff to previous 1.82 (unified)

shrink mrlock_t

The writer field is not needed for non_DEBU builds so remove it.  While
we're at i also clean up the interface for is locked asserts to go
through and xfs_iget.c helper with an interface like the xfs_ilock
routines to isolated the XFS codebase from mrlock internals.  That way
we can kill mrlock_t entirely once rw_semaphores grow an islocked
facility.  Also remove unused flags to the ilock family of functions.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:30902a by kenmcd.

  shrink mrlock_t

Revision 1.82 / (download) - annotate - [select for diffs], Wed Apr 9 16:35:28 2008 UTC (9 years, 6 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (unified)

remove bhv_vname_t and xfs_rename code
Merge of xfs-linux-melb:xfs-kern:30804a by kenmcd.

  remove bhv_vname_t and xfs_rename code

Revision 1.81 / (download) - annotate - [select for diffs], Fri Feb 22 03:08:20 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.80: +0 -22 lines
Diff to previous 1.80 (unified)

kill xfs_get_dir_entry

Instead of of xfs_get_dir_entry use a macro to get the xfs_inode from
the dentry in the callers and grab the reference manually.

Only grab the reference once as it's fine to keep it over the dmapi
calls.  (And even that reference is actually superflous in Linux but
I'll leave that for another patch)

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:30531a by kenmcd.

  kill xfs_get_dir_entry

Revision 1.80 / (download) - annotate - [select for diffs], Fri Feb 22 03:05:49 2008 UTC (9 years, 7 months ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (unified)

remove shouting-indirection macros from xfs_sb.h

Remove macro-to-small-function indirection from xfs_sb.h,
and remove some which are completely unused.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Merge of xfs-linux-melb:xfs-kern:30528a by kenmcd.

  remove shouting-indirection macros from xfs_sb.h

Revision 1.79 / (download) - annotate - [select for diffs], Mon Jan 21 15:00:49 2008 UTC (9 years, 8 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.78: +2 -0 lines
Diff to previous 1.78 (unified)

keep i_nlink updated and use proper accessors

To get the read-only bind mounts in -mm to work correctly with XFS we
need to call the drop_nlink and inc_nlink helpers to monitor the link
count.  Add calls to these to xfs_bumplink and xfs_droplink and stop
copying over di_nlink to i_nlink in xfs_validate_fields and vn_revalidate.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:30392a by kenmcd.

  keep i_nlink updated and use proper accessors

Revision 1.78 / (download) - annotate - [select for diffs], Fri Sep 21 06:16:14 2007 UTC (10 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.77: +3 -4 lines
Diff to previous 1.77 (unified)

Unwrap XFS_SB_LOCK.

Un-obfuscate XFS_SB_LOCK, remove XFS_SB_LOCK->mutex_lock->spin_lock
macros, call spin_lock directly, remove extraneous cookie
holdover from old xfs code, and change lock type to spinlock_t.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Merge of xfs-linux-melb:xfs-kern:29746a by kenmcd.

  Unwrap XFS_SB_LOCK

Revision 1.77 / (download) - annotate - [select for diffs], Tue Sep 11 06:11:49 2007 UTC (10 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.76: +1 -1 lines
Diff to previous 1.76 (unified)

clean up vnode/inode tracing

Simplify vnode tracing calls by embedding function name & return addr
in the calling macro.

Also do a lot of vnode->inode renaming for consistency, while
we're at it.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Merge of xfs-linux-melb:xfs-kern:29650a by kenmcd.

  clean up vnode/inode tracing

Revision 1.76 / (download) - annotate - [select for diffs], Fri Aug 24 16:08:41 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.75: +1 -1 lines
Diff to previous 1.75 (unified)

move v_trace from bhv_vnode to xfs_inode

struct bhv_vnode is on it's way out, so move the trace buffer to the
XFS inode.  Note that this makes the tracing macros rather misnamed,
but this kind of fallout will be fixed up incrementally later on.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:29498a by kenmcd.

  move v_trace from bhv_vnode to xfs_inode

Revision 1.75 / (download) - annotate - [select for diffs], Fri Aug 24 16:03:11 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.74: +2 -7 lines
Diff to previous 1.74 (unified)

decontaminate vnode operations from behavior details

All vnode ops now take struct xfs_inode pointers and the behaviour
related glue is split out into methods of it's own.  This required
fixing xfs_create/mkdir/symlink to not mess with the inode pointer
but rather use a separate boolean for error handling.  Thanks to
Dave Chinner for that fix.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:29492a by kenmcd.

  convert vnode ops to take xfs_inode pointers and separate out
  behaviour related glue.

Revision 1.74 / (download) - annotate - [select for diffs], Sat Mar 10 02:56:10 2007 UTC (10 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.73: +5 -1 lines
Diff to previous 1.73 (unified)

propogate return codes from flush routines

This patch handles error return values in fs_flush_pages and fs_flushinval_pages.
It changes the prototype of fs_flushinval_pages so we can propogate the errors
and handle them at higher layers.  I also modified xfs_itruncate_start so that
it could propogate the error further.
Merge of xfs-linux-melb:xfs-kern:28231a by kenmcd.

  propogate return codes from flush routines

Revision 1.73 / (download) - annotate - [select for diffs], Fri Mar 2 02:59:33 2007 UTC (10 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.72: +2 -3 lines
Diff to previous 1.72 (unified)

The last argument "lsn" of xfs_trans_commit() is always called with NULL.

Patch provided by Eric Sandeen.
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Merge of xfs-linux-melb:xfs-kern:28199a by kenmcd.

  The last argument "lsn" of xfs_trans_commit() is always called with NULL.
  Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

Revision 1.72 / (download) - annotate - [select for diffs], Thu Jun 15 03:58:11 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.71: +1 -4 lines
Diff to previous 1.71 (unified)

Remove version 1 directory code.  Never functioned on Linux, just pure bloat.
Merge of xfs-linux-melb:xfs-kern:26251a by kenmcd.

Revision 1.71 / (download) - annotate - [select for diffs], Tue May 30 15:57:54 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (unified)

Resolve a namespace collision on remaining vtypes for FreeBSD porters.
Merge of xfs-linux-melb:xfs-kern:26108a by kenmcd.

Revision 1.70 / (download) - annotate - [select for diffs], Tue May 30 15:56:57 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (unified)

Resolve a namespace collision on vnode/vnodeops for FreeBSD porters.
Merge of xfs-linux-melb:xfs-kern:26107a by kenmcd.

Revision 1.69 / (download) - annotate - [select for diffs], Mon Dec 19 19:00:32 2005 UTC (11 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.68: +3 -6 lines
Diff to previous 1.68 (unified)

add helper to get xfs_inode from vnode

Revision 1.68 / (download) - annotate - [select for diffs], Fri Sep 23 03:51:28 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.67: +12 -26 lines
Diff to previous 1.67 (unified)

Update license/copyright notices to match the prefered SGI boilerplate.
Merge of xfs-linux-melb:xfs-kern:23903a by kenmcd.

Revision 1.67 / (download) - annotate - [select for diffs], Fri Sep 23 03:48:50 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.66: +6 -5 lines
Diff to previous 1.66 (unified)

Remove xfs_macros.c, xfs_macros.h, rework headers a whole lot.
Merge of xfs-linux-melb:xfs-kern:23901a by kenmcd.

Revision 1.66 / (download) - annotate - [select for diffs], Fri Jun 3 06:03:33 2005 UTC (12 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.65: +1 -1 lines
Diff to previous 1.65 (unified)

Add support for project quota, based on Dan Knappes earlier work.
Merge of xfs-linux-melb:xfs-kern:22805a by kenmcd.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Apr 1 05:58:23 2005 UTC (12 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.64: +1 -1 lines
Diff to previous 1.64 (unified)

Fix up uses of nlink_t incorrectly restricting us to 2^16 links for some platforms.
Merge of xfs-linux-melb:xfs-kern:22032a by kenmcd.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Oct 27 12:06:24 2004 UTC (12 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.63: +1 -1 lines
Diff to previous 1.63 (unified)

handle inode creating race
xfs_iget gained another parameter

Revision 1.63 / (download) - annotate - [select for diffs], Wed Oct 27 11:56:15 2004 UTC (12 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.62: +0 -0 lines
Diff to previous 1.62 (unified)

Handle inode creating race
xfs_iget gained another parameter

Revision 1.62 / (download) - annotate - [select for diffs], Fri Jun 27 18:04:26 2003 UTC (14 years, 3 months ago) by cattelan
Branch: MAIN
Changes since 1.61: +488 -0 lines
Diff to previous 1.61 (unified)

The Big Move
linux/fs/xfs/xfs_utils.c 1.60 Renamed to xfs_utils.c

Revision 1.61 / (download) - annotate - [select for diffs], Fri Jun 27 17:57:21 2003 UTC (14 years, 3 months ago) by cattelan
Branch: MAIN
CVS Tags: DENUKE
Changes since 1.60: +0 -488 lines
Diff to previous 1.60 (unified)

Nuke

Revision 1.60 / (download) - annotate - [select for diffs], Thu May 1 16:22:06 2003 UTC (14 years, 5 months ago) by cattelan
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.59: +24 -1 lines
Diff to previous 1.59 (unified)

Rework the way xfs includes xfs_<blah>.h headers.
This reduces a lot of the compile dependenciesÂ,
and should reduce some of the "recompile all" situations.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Apr 15 23:16:46 2003 UTC (14 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.58: +6 -6 lines
Diff to previous 1.58 (unified)

Whitespace cleanup
Clean up some whitespace... revert some whitespace changes from previous whitespace cleanup (incorrect tabs)

Revision 1.58 / (download) - annotate - [select for diffs], Mon Mar 17 06:02:57 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (unified)

Separate the quota source into its own subdirectory ala dmapi.
Push a bunch of quota- and dmapi-specific code down into these
subdirs which previously was compiled into the core XFS code,
and don't descend into these subdirs if options config'd off.
Separate the quota source into its own subdirectory ala dmapi.
Push a bunch of quota- and dmapi-specific code down into these
subdirs which previously was compiled into the core XFS code,
and don't descend into these subdirs if options config'd off.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Jan 2 01:40:40 2003 UTC (14 years, 9 months ago) by nathans
Branch: MAIN
Changes since 1.56: +1 -3 lines
Diff to previous 1.56 (unified)

Fix up some comments, tidy up some macros - no functional changes.
Add a vname to vnode macro, finishing off the dentry/core XFS code abstraction.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Nov 26 04:29:32 2002 UTC (14 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.55: +0 -4 lines
Diff to previous 1.55 (unified)

Find a more suitable home for the xfsstats statistics structure.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Nov 22 07:45:15 2002 UTC (14 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.54: +11 -12 lines
Diff to previous 1.54 (unified)

Minor formatting and code consistency cleanups.
Minor cleanups - format code consistently; keep details of dentry internals
over with the other Linux-specific code.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Oct 9 03:06:48 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.53: +1 -1 lines
Diff to previous 1.53 (unified)

Global search and replace of the b* memory routines to their mem* equivalents.
(bcopy->memcopy, ovbcopy->memmove, bzero->memset, bcmp->memcmp).

Revision 1.53 / (download) - annotate - [select for diffs], Wed Oct 2 17:25:30 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.52: +1 -1 lines
Diff to previous 1.52 (unified)

This is a two fold change, first it moves the translation
between linux dev_t and kdev_t up the call stack in xfs
and makes the bulk of xfs work in terms of its on disk
dev_t format. It also cleans up a few related chunks of
code.

The other part of the change reworks how we keep the linux
inode contents and the xfs inode fields in sync. A number
of places where we resynced the two have been removed, these
were basically replicating work elsewhere in the filesystem.
We now also ensure that the inode fields are filled in
before calling unlock_new_inode - there used to be a window.
Finally all the code which hooks together the linux inode
and the xfs inode is brought together as a more coherent
whole rather than being scattered around the inode create
path. Most calls to revalidate the linux inode from the
xfs inode are removed.
Change xfs_dir_ialloc to take an xfs format dev_t

Revision 1.52 / (download) - annotate - [select for diffs], Thu Sep 19 18:19:37 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.51: +5 -52 lines
Diff to previous 1.51 (unified)

Simplify xfs_dir_lookup_int
Remove flags argument from xfs_dir_lookup_int. DLF_IGET is always set and now
implied.  DLF_LOCK_SHARED is replaced by passing in the lock flags directly.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Aug 29 16:00:10 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.50: +29 -29 lines
Diff to previous 1.50 (unified)

cleanup/optimize xfs_dir_lookup_int()

Revision 1.50 / (download) - annotate - [select for diffs], Tue Aug 27 14:56:45 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.49: +19 -93 lines
Diff to previous 1.49 (unified)

remove extra generation number checks

Revision 1.49 / (download) - annotate - [select for diffs], Mon Jul 22 20:50:38 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.48: +1 -1 lines
Diff to previous 1.48 (unified)

kill LINVFS_GET_VPTR

Revision 1.48 / (download) - annotate - [select for diffs], Wed Jul 10 19:00:42 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.47: +44 -44 lines
Diff to previous 1.47 (unified)

whitespace cleanup

Revision 1.47 / (download) - annotate - [select for diffs], Thu Jun 20 15:21:23 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.46: +0 -27 lines
Diff to previous 1.46 (unified)

remove xfs_stickytest

Revision 1.46 / (download) - annotate - [select for diffs], Mon Jun 10 18:29:39 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.45: +0 -31 lines
Diff to previous 1.45 (unified)

remove dead code

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jun 5 15:53:46 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.44: +22 -12 lines
Diff to previous 1.44 (unified)

In name lookup, if we have a positive dentry use that directly instead of
the directory lookup.

Revision 1.44 / (download) - annotate - [select for diffs], Tue Jun 4 16:30:46 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.43: +1 -1 lines
Diff to previous 1.43 (unified)

Update copyright dates

Revision 1.43 / (download) - annotate - [select for diffs], Tue May 28 22:30:45 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.42: +0 -59 lines
Diff to previous 1.42 (unified)

Remove xfs_pre_rename, xfs_pre_rmdir, xfs_pre_remove, 
these either checked flags that are never set, or duplicated
standard Linux VFS checks already in place.

Revision 1.42 / (download) - annotate - [select for diffs], Wed May 22 16:30:23 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.41: +4 -8 lines
Diff to previous 1.41 (unified)

Use xfs_iput_new for new inodes that are still locked
(Previously had some ingredients of xfs_iput in these
places, without actually calling xfs_iput).

Revision 1.41 / (download) - annotate - [select for diffs], Tue Apr 30 09:41:04 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.40: +1 -1 lines
Diff to previous 1.40 (unified)

more irq changes to unsigned long

Revision 1.40 / (download) - annotate - [select for diffs], Tue Mar 5 06:07:09 2002 UTC (15 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.39: +2 -0 lines
Diff to previous 1.39 (unified)

Fix build w/o procfs

Revision 1.39 / (download) - annotate - [select for diffs], Thu Aug 16 20:34:51 2001 UTC (16 years, 2 months ago) by eric
Branch: MAIN
Changes since 1.38: +1 -1 lines
Diff to previous 1.38 (unified)

"Merge" of irix6.5f:irix:100627b

Revision 1.38 / (download) - annotate - [select for diffs], Wed Jul 18 19:32:37 2001 UTC (16 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.37: +1 -0 lines
Diff to previous 1.37 (unified)

merge up to 2.4.7-pre7

Revision 1.37 / (download) - annotate - [select for diffs], Wed Apr 11 01:44:54 2001 UTC (16 years, 6 months ago) by cattelan
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (unified)

Get rid of the last compiler warning OFF flags

Revision 1.36 / (download) - annotate - [select for diffs], Tue Apr 3 02:52:38 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
CVS Tags: Release-1_0_0
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (unified)

support group quotas in Linux/XFS.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jan 15 10:28:46 2001 UTC (16 years, 9 months ago) by tes
Branch: MAIN
CVS Tags: PreRelease-0_10
Changes since 1.34: +4 -3 lines
Diff to previous 1.34 (unified)

Add XFS/ACL support

Revision 1.34 / (download) - annotate - [select for diffs], Thu Sep 28 04:14:43 2000 UTC (17 years ago) by nathans
Branch: MAIN
Changes since 1.33: +0 -2 lines
Diff to previous 1.33 (unified)

remove explicit externs - get these from headers.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Sep 25 05:42:07 2000 UTC (17 years ago) by nathans
Branch: MAIN
Changes since 1.32: +1 -76 lines
Diff to previous 1.32 (unified)

use xfs.h, remove all traces of SIM, push extern declarations into headers,
dead code removal.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Aug 18 19:27:11 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.31: +3 -1 lines
Diff to previous 1.31 (unified)

Turn off some more irix code

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jul 17 20:57:01 2000 UTC (17 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.30: +2 -3 lines
Diff to previous 1.30 (unified)

use dmapi_kern.h instead of dmi_kern.h
use dmapi_kern.h instead of dmi_kern.h

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jul 7 21:00:39 2000 UTC (17 years, 3 months ago) by jtk
Branch: MAIN
Changes since 1.29: +1 -60 lines
Diff to previous 1.29 (unified)

Remove xfs_post_remove, it doesn't do anything.
Remove xfs_post_rmdir, all it did was call
xfs_post_remove.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jul 6 21:29:49 2000 UTC (17 years, 3 months ago) by jtk
Branch: MAIN
Changes since 1.28: +5 -77 lines
Diff to previous 1.28 (unified)

Remove include <sys/dnlc.h>.
Remove "ncfastdata" from xfs_dir_lookup_int calls.
Remove all references to any dnlc_ routine.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jun 9 04:12:53 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.27: +1 -0 lines
Diff to previous 1.27 (unified)

fix includes
Merge of 2.3.99pre2-xfs:slinx:60309a by ananth.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jun 9 02:50:02 2000 UTC (17 years, 4 months ago) by kenmcd
Branch: MAIN
CVS Tags: GPL-ENCUMBRANCE
Changes since 1.26: +25 -12 lines
Diff to previous 1.26 (unified)

Updated copyright and license notices, ready for open source release
Merge of 2.3.99pre2-xfs:slinx:55821a by ananth.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jun 9 02:29:42 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
CVS Tags: DELETE
Changes since 1.25: +0 -9 lines
Diff to previous 1.25 (unified)

cleanup XFS use of device types
Merge of 2.3.99pre2-xfs:slinx:55615a by ananth.

  Merge of 2.3.42-xfs:slinx:55615a by lord.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jun 9 01:50:04 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (unified)

Merge of 2.3.99pre2-xfs:slinx:46428a by ananth.

  Merge of 2.3.42-xfs:slinx:46428a by ananth.
  remove unused include files.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jun 9 01:35:34 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.23: +9 -7 lines
Diff to previous 1.23 (unified)

use linux security mechanisms
Merge of 2.3.99pre2-xfs:slinx:46379a by ananth.

  Merge of 2.3.42-xfs:slinx:46379a by ananth.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jun 9 01:11:31 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.22: +7 -4 lines
Diff to previous 1.22 (unified)

Merge of 2.3.99pre2-xfs:slinx:46045a by ananth.

  Merge of 2.3.42-xfs:slinx:46045a by ananth.
  remove use of v_vfsmountedhere field in vnode pointer.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Jan 30 09:59:06 2000 UTC (17 years, 8 months ago) by kenmcd
Branch: MAIN
Changes since 1.21: +12 -17 lines
Diff to previous 1.21 (unified)

Encumbrance review done.
Add copyright and license words consistent with GPL.
Refer to http://fsg.melbourne.sgi.com/reviews/ for details.

There is a slight change in the license terms and conditions words
to go with the copyrights, so most of the files are not getting
new GPL's, just updated versions ... but there are 20-30 more files
here as well.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jan 24 17:13:16 2000 UTC (17 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.20: +11 -1 lines
Diff to previous 1.20 (unified)

Remove dead dnlc lookup in linux port, there is no dnlc in this
case, and if there was a dcache entry for the inode we never get
here in the VOP_LOOKUP case anyway.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Dec 14 10:20:10 1999 UTC (17 years, 10 months ago) by kenmcd
Branch: MAIN
Changes since 1.19: +24 -1 lines
Diff to previous 1.19 (unified)

Encumbrance review done.  Add copyright and license words consistent with GPL.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Nov 22 22:58:48 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (unified)

virtualize brelse() call

Revision 1.18 / (download) - annotate - [select for diffs], Wed Nov 17 19:22:23 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (unified)

replace struct buf and buf_t references with xfs_buf and xfs_buf_t

Revision 1.17 / (download) - annotate - [select for diffs], Fri May 14 20:13:13 1999 UTC (18 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.16: +115 -0 lines
Diff to previous 1.16 (unified)

Merge from irix/cxfs-f to irix/irix6.5f
Merge of cxfs-f:irix:15011b created by lord on 05/11/99
  Merge from irix/cxfs to irix/cxfs-f
  Merge of cxfs:irix:13423a created by lord on 04/19/99
  CXFS infrastructure checkin

Revision 1.16 / (download) - annotate - [select for diffs], Thu Feb 4 01:28:30 1999 UTC (18 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.15: +7 -4 lines
Diff to previous 1.15 (unified)

Change includes for v2 directory support.
Vector out v1/v2 directory operations.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Dec 15 16:46:24 1998 UTC (18 years, 10 months ago) by overby
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (unified)

pv: 613214 rv: mostek, doucette
Change the permission check in xfs_fd_to_mp, which is used by SGI_XFS_BULKSTAT
and SGI_XFS_XFSOPERATIONS, to allow xfs operations that read data to be
executed by non-superuser processes.  This involves adding a flag to
xfs_fd_to_mp that indicates whether or not the super-user permission check is
done for non-device files.  Bulkstat always requires super-user.
pv: 613214 rv: mostek, doucette
Change the permission check in xfs_fd_to_mp, which is used by SGI_XFS_BULKSTAT
and SGI_XFS_XFSOPERATIONS, to allow xfs operations that read data to be
executed by non-superuser processes.  This involves adding a flag to
xfs_fd_to_mp that indicates whether or not the super-user permission check is
done for non-device files.  Bulkstat always requires super-user.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Apr 24 14:24:17 1998 UTC (19 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.13: +25 -4 lines
Diff to previous 1.13 (unified)

Change xfs_dir_lookup_int so that it never does a vn_rele
with an inode locked.
pv:591729, rv:doucette@engr

Revision 1.13 / (download) - annotate - [select for diffs], Fri Apr 10 16:42:39 1998 UTC (19 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (unified)

Use cap_able_cred instead of checking against uid 0, also instead of
macro _CAP_CRABLE.
pv: 586451 rv: bitbug@engr

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jan 18 09:05:56 1998 UTC (19 years, 9 months ago) by rcc
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (unified)

added extra argument to xfs_trans_commit for IO_DSYNC speedup.
pv: 555963  rv: lord@cray

Revision 1.11 / (download) - annotate - [select for diffs], Sat Dec 20 21:44:37 1997 UTC (19 years, 10 months ago) by markc
Branch: MAIN
Changes since 1.10: +11 -1 lines
Diff to previous 1.10 (unified)

Verify XLV device on xfs_mk_sharedro, xfs_clear_sharedro calls.
rv:ram@cray.com
pv:548423

Revision 1.10 / (download) - annotate - [select for diffs], Sat Dec 20 00:57:43 1997 UTC (19 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.9: +15 -6 lines
Diff to previous 1.9 (unified)

Add xfs_isshutdown for buffer cache to call in ASSERT code.
Fix some ifdefs for simulation build.
pv: 538827
rv: lord@cray.com

Revision 1.9 / (download) - annotate - [select for diffs], Sun Oct 26 08:30:48 1997 UTC (19 years, 11 months ago) by rcc
Branch: MAIN
Changes since 1.8: +20 -1 lines
Diff to previous 1.8 (unified)

515588 - add utility routine needed by error injection mechanism
pv: 515588, rv: lord@cray

Revision 1.8 / (download) - annotate - [select for diffs], Fri Sep 19 09:37:10 1997 UTC (20 years, 1 month ago) by rcc
Branch: MAIN
Changes since 1.7: +39 -1 lines
Diff to previous 1.7 (unified)

522678 - added routines to set and clear the filesystem
"mark shared read-only on umount" field

Revision 1.7 / (download) - annotate - [select for diffs], Fri Sep 12 00:48:28 1997 UTC (20 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.6: +17 -4 lines
Diff to previous 1.6 (unified)

Fix missing VN_RELE of vnode in xfs_dir_lookup_int path where the
directory generation changed on us, so we do the real dir lookup. Bug
481172.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jul 15 18:00:33 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.5: +4 -3 lines
Diff to previous 1.5 (unified)

Add okalloc argument to xfs_ialloc calls.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Apr 6 03:09:32 1997 UTC (20 years, 6 months ago) by sup
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (unified)

IOLOCK wasn't getting released when error in truncate_file().

Revision 1.4 / (download) - annotate - [select for diffs], Fri Apr 4 07:59:57 1997 UTC (20 years, 6 months ago) by rcc
Branch: MAIN
Changes since 1.3: +19 -3 lines
Diff to previous 1.3 (unified)

change truncate file to signal sync/async to xfs_itruncate_finish

Revision 1.3 / (download) - annotate - [select for diffs], Fri Feb 21 02:05:07 1997 UTC (20 years, 7 months ago) by sup
Branch: MAIN
Changes since 1.2: +37 -18 lines
Diff to previous 1.2 (unified)

Add xfs_bump_ino_vers2() to bump the version of an inode from 1 to 2,
and take care of setting the SB feature bit accordingly.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jan 25 02:55:50 1997 UTC (20 years, 8 months ago) by sup
Branch: MAIN
Changes since 1.1: +9 -2 lines
Diff to previous 1.1 (unified)

First cut of XFS I/O error handling changes.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Dec 13 00:45:51 1996 UTC (20 years, 10 months ago) by sup
Branch: MAIN

Common routines that used to live in xfs_vnodeops.c

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>