CVS log for xfs-cmds/xfsprogs/libhandle/handle.c

[BACK] Up to [Development] / xfs-cmds / xfsprogs / libhandle

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.25 / (download) - annotate - [select for diffs], Wed Feb 15 02:50:54 2006 UTC (11 years, 7 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.24: +5 -63 lines
Diff to previous 1.24 (unified)

get rid of cursor and more parameters for getparents functions.
Slight function namechange at the same time.
Merge of master-melb:xfs-cmds:25194a by kenmcd.

  Remove cursor and more parameters.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Nov 14 14:07:56 2005 UTC (11 years, 11 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.23: +89 -2 lines
Diff to previous 1.23 (unified)

Parent pointer userspace support. Adds in libhandle code and xfs_io parent command support.
Merge of master-melb:xfs-cmds:24394a by kenmcd.

  Add the getparents handle functions.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Nov 11 14:28:31 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.22: +1 -5 lines
Diff to previous 1.22 (unified)

Fix up compiler warnings and other issues when building on IRIX.
Merge of master-melb:xfs-cmds:24375a by kenmcd.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Nov 11 14:27:22 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.21: +13 -28 lines
Diff to previous 1.21 (unified)

Update copyright/license notices to match SGI legal prefered boilerplate.
Merge of master-melb:xfs-cmds:24374a by kenmcd.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jul 4 06:00:09 2005 UTC (12 years, 3 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.20: +22 -0 lines
Diff to previous 1.20 (unified)

Get libhandle working on IRIX for qa. Put back fd_to_handle.
Merge of master-melb:xfs-cmds:23053a by kenmcd.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jun 13 14:59:17 2005 UTC (12 years, 4 months ago) by wkendall
Branch: MAIN
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (unified)

Use a temporary 32-bit variable in readlink_by_handle to avoid
updating the wrong half of a size_t pointer. This could happen
on 64-bit, big endian systems.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Apr 19 07:33:02 2005 UTC (12 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.18: +5 -8 lines
Diff to previous 1.18 (unified)

fix obj_to_handle on 64bit, Big Endian Systems
use a temporary 32bit variable in obj_to_handle to avoid scambling over the
wrong half of a size_t pointer

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jun 23 14:03:24 2004 UTC (13 years, 3 months ago) by wkendall
Branch: MAIN
Changes since 1.17: +5 -0 lines
Diff to previous 1.17 (unified)

Fix libhandle from possibly returning an invalid handle length.
Fix libhandle from possibly returning an invalid handle length
on systems where size_t is a 64 bit value.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Apr 15 19:42:58 2004 UTC (13 years, 6 months ago) by wkendall
Branch: MAIN
Changes since 1.16: +22 -22 lines
Diff to previous 1.16 (unified)

- Fix file descriptor leak in path_to_fshandle. It now caches
one descriptor per filesystem.
- In xfsrestore, always allocate a fs handle during content_init.
This allows us to not have to call path_to_fshandle before attempting
every open_by_handle.
- Change open_by_fshandle to open_by_handle is cases where we are
passing a file handle (instead of a fshandle).
path_to_fshandle was opening a file and never closing it. We now close it
unless the descriptor is to be used in the descriptor cache. One descriptor
is cached for each unique filesystem that path_to_fshandle is called on.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Feb 13 19:12:27 2004 UTC (13 years, 8 months ago) by alkirkco
Branch: MAIN
Changes since 1.15: +51 -11 lines
Diff to previous 1.15 (unified)

Some of the libhandle routines were not clear whether they were working
on fshandles or file handles.  This mod renames open_by_handle() to
open_by_fshandle() and updates any calling applications to now call
open_by_fshandle() instead.  A new open_by_handle() has been created.

path_to_fshandle() was trying to maintain a hash of fshandles but the
hash was only storing a max of 2 fshandles at a time.  This has been
fixed so the hash can hold multiple fs handles.
- rename open_by_handle() to open_by_fshandle(), then create a
  new routine for open_by_handle().
- modify path_to_fshandle() to properly store a hash of multiple
  fshandles (it was only storing 2 fshandles at a time).

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jun 2 04:11:24 2003 UTC (14 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.14: +25 -69 lines
Diff to previous 1.14 (unified)

xfsprogs update to tidy up some libhandle code

Revision 1.14 / (download) - annotate - [select for diffs], Tue Apr 29 01:52:34 2003 UTC (14 years, 5 months ago) by nathans
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (unified)

Fix includes to not be relative to paths provided by -I directives, for
the xfsprogs and xfsdump builds.  At this stage still provide these gcc
options in the build but later that can be removed too now that headers
are clean.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 16 18:29:10 2003 UTC (14 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12 (unified)

Merge whitespace changes over

Revision 1.12 / (download) - annotate - [select for diffs], Mon Mar 31 02:57:10 2003 UTC (14 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.11: +37 -45 lines
Diff to previous 1.11 (unified)

Bunch of portability related changes to xfsprogs.  Includes some code to
allow db/mkfs/repair to be used on Mac's (maybe useful for dual boot), &
some code to build on IRIX too (useful for purify-ing xfs_repair only).
Remove unused and static routines. 

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jun 4 23:07:56 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.10: +1 -1 lines
Diff to previous 1.10 (unified)

Update copyright dates (again)

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jun 4 22:53:09 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9 (unified)

Undoes mod:     xfs-cmds:slinx:120772a
Undo xfs-cmds:slinx:120772a, inadvertently whacked a previous mod.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jun 4 17:58:21 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (unified)

Update copyright dates

Revision 1.8 / (download) - annotate - [select for diffs], Tue Apr 2 08:48:52 2002 UTC (15 years, 6 months ago) by tes
Branch: MAIN
Changes since 1.7: +6 -6 lines
Diff to previous 1.7 (unified)

Add O_LARGEFILE for the handle request oflags.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Feb 25 22:06:21 2002 UTC (15 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.6: +68 -2 lines
Diff to previous 1.6 (unified)

Merge of xfs-cmds-2.4.18:slinx:111135a by nathans.

  bump to version 2.0.0 for extended attribute and other interface changes.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Sep 12 21:30:26 2001 UTC (16 years, 1 month ago) by roehrich
Branch: MAIN
Changes since 1.5: +17 -16 lines
Diff to previous 1.5 (unified)

No Message Supplied

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jul 19 19:26:28 2001 UTC (16 years, 2 months ago) by roehrich
Branch: MAIN
Changes since 1.4: +28 -0 lines
Diff to previous 1.4 (unified)

implement fssetdm_by_handle()

Revision 1.4 / (download) - annotate - [select for diffs], Wed May 9 06:56:06 2001 UTC (16 years, 5 months ago) by nathans
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.3: +1 -9 lines
Diff to previous 1.3 (unified)

present fcntl.h and libxfs.h in the correct order, to ensure O_DIRECT 
definition comes out correctly for all architectures.  audit headers,
removed lots of dups, while I'm at it.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 9 07:41:10 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (unified)

fix types used for ioctl request argument.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Feb 9 07:45:14 2001 UTC (16 years, 8 months ago) by ajag
Branch: MAIN
CVS Tags: Release-1_0_0
Changes since 1.1: +34 -32 lines
Diff to previous 1.1 (unified)

No Message Supplied

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jan 15 05:56:08 2001 UTC (16 years, 9 months ago) by nathans
Branch: MAIN

cmd/xfsprogs/handle/handle.c 1.1 Renamed to cmd/xfsprogs/libhandle/handle.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>