CVS log for xfs-linux-nodel/xfs_utils.h

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.44 / (download) - annotate - [select for diffs], Fri Jul 25 04:20:48 2008 UTC (9 years, 3 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.43: +0 -3 lines
Diff to previous 1.43 (colored)

implement IHOLD/IRELE directly

Now that all direct calls to VN_HOLD/VN_RELE are gone we can implement
IHOLD/IRELE directly.

For the IHOLD case also replace igrab with a direct increment of i_count
because we are guaranteed to already have a live and referenced inode
by the VFS.  Also remove the vn_hold statistic because it's been rather
meaningless for some time with most references done by other callers.


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

  implement IHOLD/IRELE directly

Revision 1.43 / (download) - annotate - [select for diffs], Wed Jul 23 16:34:13 2008 UTC (9 years, 3 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

Kill shouty XFS_ITOV() macro

Replace XFS_ITOV() with the new VFS_I() inline.

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

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

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.41 / (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.40: +2 -2 lines
Diff to previous 1.40 (colored)

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.40 / (download) - annotate - [select for diffs], Wed Apr 9 16:19:22 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.39: +6 -6 lines
Diff to previous 1.39 (colored)

Remove useless whitespace in function prototypes

Makes it simpler to annotate function prototypes with __must_check
via sed scripts.
Merge of xfs-linux-melb:xfs-kern:30781a by kenmcd.

  Remove useless whitespace in function prototypes.

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

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.38 / (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.37: +0 -2 lines
Diff to previous 1.37 (colored)

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.37 / (download) - annotate - [select for diffs], Fri Aug 24 16:08:41 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.36: +1 -1 lines
Diff to previous 1.36 (colored)

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.36 / (download) - annotate - [select for diffs], Fri Aug 24 16:03:11 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.35: +1 -3 lines
Diff to previous 1.35 (colored)

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.35 / (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.34: +4 -4 lines
Diff to previous 1.34 (colored)

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

Revision 1.34 / (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.33: +2 -1 lines
Diff to previous 1.33 (colored)

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

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

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

Revision 1.32 / (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.31: +1 -1 lines
Diff to previous 1.31 (colored)

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.31 / (download) - annotate - [select for diffs], Fri Jun 27 18:04:26 2003 UTC (14 years, 4 months ago) by cattelan
Branch: MAIN
Changes since 1.30: +52 -0 lines
Diff to previous 1.30 (colored)

The Big Move
linux/fs/xfs/xfs_utils.h 1.29 Renamed to xfs_utils.h

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

Nuke

Revision 1.29 / (download) - annotate - [select for diffs], Tue Apr 15 23:16:46 2003 UTC (14 years, 6 months ago) by cattelan
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

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

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

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.27 / (download) - annotate - [select for diffs], Wed Oct 2 17:25:30 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.26: +1 -1 lines
Diff to previous 1.26 (colored)

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 prototype for xfs_dir_ialloc

Revision 1.26 / (download) - annotate - [select for diffs], Thu Sep 19 18:19:37 2002 UTC (15 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.25: +1 -4 lines
Diff to previous 1.25 (colored)

Simplify xfs_dir_lookup_int
Adopt for new xfs_dir_lookup_int prototype

Revision 1.25 / (download) - annotate - [select for diffs], Mon Sep 2 13:01:45 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.24: +0 -7 lines
Diff to previous 1.24 (colored)

make xfs_link static

Revision 1.24 / (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.23: +6 -2 lines
Diff to previous 1.23 (colored)

cleanup/optimize xfs_dir_lookup_int()

Revision 1.23 / (download) - annotate - [select for diffs], Tue Aug 27 14:56:45 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.22: +1 -2 lines
Diff to previous 1.22 (colored)

remove extra generation number checks

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jul 27 14:25:06 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.21: +0 -18 lines
Diff to previous 1.21 (colored)

remove some cell_capable function prototypes

Revision 1.21 / (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.20: +28 -28 lines
Diff to previous 1.20 (colored)

whitespace cleanup

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jun 20 15:21:23 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.19: +0 -6 lines
Diff to previous 1.19 (colored)

remove xfs_stickytest

Revision 1.19 / (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.18: +0 -23 lines
Diff to previous 1.18 (colored)

remove dead code

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jun 6 15:46:50 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.17: +0 -3 lines
Diff to previous 1.17 (colored)

remove references to pathname

Revision 1.17 / (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.16: +4 -6 lines
Diff to previous 1.16 (colored)

prototype changes

Revision 1.16 / (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.15: +1 -1 lines
Diff to previous 1.15 (colored)

Update copyright dates

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

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.14 / (download) - annotate - [select for diffs], Mon Jan 15 10:28:46 2001 UTC (16 years, 9 months ago) by tes
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10, Linux-2_4_5-merge
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

Add XFS/ACL support

Revision 1.13 / (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.12: +0 -3 lines
Diff to previous 1.12 (colored)

Remove prototypes for xfs_post_r*.

Revision 1.12 / (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.11: +0 -2 lines
Diff to previous 1.11 (colored)

Remove "ncfastdata" from xfs_dir_lookup_int prototype.

Revision 1.11 / (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.10: +25 -12 lines
Diff to previous 1.10 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jun 9 01:35:34 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
CVS Tags: DELETE
Changes since 1.9: +1 -2 lines
Diff to previous 1.9 (colored)

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.9 / (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.8: +11 -16 lines
Diff to previous 1.8 (colored)

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.8 / (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.7: +23 -0 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (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.6: +34 -0 lines
Diff to previous 1.6 (colored)

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.6 / (download) - annotate - [select for diffs], Sat Dec 20 00:57:44 1997 UTC (19 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.5: +22 -0 lines
Diff to previous 1.5 (colored)

Add missing prototypes for error injection, shared readonly,
and shutdown code.
pv: 548423, 538827
rv: lord@cray.com

Revision 1.5 / (download) - annotate - [select for diffs], Fri Dec 19 15:59:40 1997 UTC (19 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.4: +36 -30 lines
Diff to previous 1.4 (colored)

Clean up prototypes for simulation build.
pv: 276922 rv: lord@cray.com

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jul 15 18:00:39 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.3: +1 -0 lines
Diff to previous 1.3 (colored)

Add okalloc argument to xfs_ialloc calls.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 11 16:34:38 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.2: +0 -5 lines
Diff to previous 1.2 (colored)

Remove MAX_EXT_NEEDED, wrong + obsolete.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Feb 21 02:07:50 1997 UTC (20 years, 8 months ago) by sup
Branch: MAIN
Changes since 1.1: +5 -0 lines
Diff to previous 1.1 (colored)

Add xfs_bump_ino_vers2.

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

Common routines and there defines 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>