CVS log for xfs-linux-nodel/linux/Attic/xfs_ioctl.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.101 / (download) - annotate - [select for diffs], Tue Dec 16 01:05:04 2003 UTC (13 years, 10 months ago) by cattelan
Branch: MAIN
CVS Tags: HEAD
Changes since 1.100: +0 -1248 lines
Diff to previous 1.100 (colored)

Move the files around to finalize the 2.4/2.6 merge
linux/xfs_ioctl.c 1.100 Renamed to linux-2.4/xfs_ioctl.c

Revision 1.100 / (download) - annotate - [select for diffs], Thu Oct 16 19:31:15 2003 UTC (14 years ago) by roehrich
Branch: MAIN
Changes since 1.99: +1 -1 lines
Diff to previous 1.99 (colored)

Implement dm_get_bulkall
Merge of 2.4.x-xfs-kern:slinx:159760a by roehrich.

  Update use of xfs_bulkstat.

Revision 1.99 / (download) - annotate - [select for diffs], Tue Oct 14 02:48:52 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.98: +1 -1 lines
Diff to previous 1.98 (colored)

Use an xfs_ino_t to hold the result of inode extraction from a handle, not a possibly 32-bit number

Revision 1.98 / (download) - annotate - [select for diffs], Wed Oct 8 17:10:55 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.97: +11 -5 lines
Diff to previous 1.97 (colored)

remove FINVIS from xfs, instead use a seperate file ops
vector for files which are opened for invisible I/O.
instead of setting FINVIS, use a different file ops vector
to control invisible I/O. Pass down an io flag to the various
ioctl ops which need to be aware of invisible I/O.

Revision 1.97 / (download) - annotate - [select for diffs], Tue Oct 7 21:43:50 2003 UTC (14 years ago) by lord
Branch: MAIN
CVS Tags: DELETE-570
Changes since 1.96: +1 -2 lines
Diff to previous 1.96 (colored)

cleanup uio use some more

Revision 1.96 / (download) - annotate - [select for diffs], Mon Sep 15 05:03:19 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.95: +134 -8 lines
Diff to previous 1.95 (colored)

Undoes mod:     xfs-linux:slinx:158358a
Implement several additional inode flags - immutable, append-only, etc; contributed by Ethan Benson.

Revision 1.95 / (download) - annotate - [select for diffs], Mon Sep 15 03:40:38 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.94: +8 -134 lines
Diff to previous 1.94 (colored)

Undoes mod:     xfs-linux:slinx:158357a
Undo last mod, checked in against wrong bug number with wrong change message.

Revision 1.94 / (download) - annotate - [select for diffs], Mon Sep 15 03:13:46 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.93: +134 -8 lines
Diff to previous 1.93 (colored)

Separate the big filesystems macro out into separate big inums and blknos macros.  Also fix the check for too-large filesystems in the process.

Revision 1.93 / (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.92: +1117 -0 lines
Diff to previous 1.92 (colored)

The Big Move
linux/fs/xfs/linux/xfs_ioctl.c 1.91 Renamed to linux/xfs_ioctl.c

Revision 1.92 / (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.91: +0 -1117 lines
Diff to previous 1.91 (colored)

Nuke

Revision 1.91 / (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.90: +37 -3 lines
Diff to previous 1.90 (colored)

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.90 / (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.89: +7 -7 lines
Diff to previous 1.89 (colored)

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

Revision 1.89 / (download) - annotate - [select for diffs], Fri Mar 28 02:59:15 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.88: +0 -5 lines
Diff to previous 1.88 (colored)

Move some extern declarations out of a .c file into a .h file.

Revision 1.88 / (download) - annotate - [select for diffs], Mon Mar 17 02:18:19 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.87: +10 -12 lines
Diff to previous 1.87 (colored)

Fix permission checks for some ioctls.  Its now possible for ordinary
users to use the preallocation calls if unwritten extents are enabled,
and a couple of places where we were allowing operations if unwritten
extents are enabled, but shouldn't have been, have been closed up.

Revision 1.87 / (download) - annotate - [select for diffs], Wed Mar 12 03:33:01 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored)

Next step in bhv code cleanup - this is a start on moving quota and dmapi
into behavior layers, purging several points where these sit slap bang in
the middle of XFS code (esp. read_super).  Also removes numerous #ifdef's
and a bunch of unused #define's from all over the place.  More to come.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Mar 11 04:37:23 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.85: +0 -2 lines
Diff to previous 1.85 (colored)

First stage of behavior code cleanup - removes a bunch of unused macros
related to read/write locking the behavior change.

Revision 1.85 / (download) - annotate - [select for diffs], Mon Dec 2 01:18:39 2002 UTC (14 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.84: +49 -34 lines
Diff to previous 1.84 (colored)

Cleanup after initially investigating unwritten extents.
Make several routines static, make declarations consistent.

Revision 1.84 / (download) - annotate - [select for diffs], Mon Nov 25 06:08:38 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.83: +1 -3 lines
Diff to previous 1.83 (colored)

Fix cleanup of path walking by handle - use hreq.path, not local path variable.

Revision 1.83 / (download) - annotate - [select for diffs], Fri Nov 22 21:29:45 2002 UTC (14 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.82: +1 -10 lines
Diff to previous 1.82 (colored)

cleanup user path walking code
use user_path_walk_link

Revision 1.82 / (download) - annotate - [select for diffs], Wed Nov 13 23:11:12 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.81: +0 -0 lines
Diff to previous 1.81 (colored)

Undoes mod:     2.4.x-xfs:slinx:132930a
Rethink some of those recent types changes slightly.

Revision 1.81 / (download) - annotate - [select for diffs], Wed Nov 13 02:25:49 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

Change AT_* to XFS_AT_* to prevent namespace collisions; move some type
declarations into more appropriate places.
Change AT_* to XFS_AT_* to prevent namespace collisions.

Revision 1.80 / (download) - annotate - [select for diffs], Wed Oct 23 04:21:07 2002 UTC (15 years ago) by kaos
Branch: MAIN
Changes since 1.79: +7 -7 lines
Diff to previous 1.79 (colored)

Undoes mod:     2.4.x-xfs:slinx:130826a
Revert STATIC->static change

Revision 1.79 / (download) - annotate - [select for diffs], Wed Oct 23 03:54:05 2002 UTC (15 years ago) by kaos
Branch: MAIN
Changes since 1.78: +7 -7 lines
Diff to previous 1.78 (colored)

Replace STATIC with static in xfs code

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

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

Revision 1.77 / (download) - annotate - [select for diffs], Wed Oct 2 17:25:30 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.76: +0 -6 lines
Diff to previous 1.76 (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.
Remove a linvfs_revalidate call

Revision 1.76 / (download) - annotate - [select for diffs], Thu Sep 5 05:37:11 2002 UTC (15 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.75: +0 -1 lines
Diff to previous 1.75 (colored)

remove an unneeded #include file.

Revision 1.75 / (download) - annotate - [select for diffs], Wed Aug 28 22:30:11 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.74: +12 -2 lines
Diff to previous 1.74 (colored)

make space reservation ioctl calls require CAP_SYS_ADMIN, or unwritten
extent support.

Revision 1.74 / (download) - annotate - [select for diffs], Wed Aug 28 17:52:35 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.73: +318 -220 lines
Diff to previous 1.73 (colored)

GREATLY reduce stack usage by moving the stack-hungry cases into
their own functions.

Revision 1.73 / (download) - annotate - [select for diffs], Thu Aug 8 21:53:32 2002 UTC (15 years, 2 months ago) by roehrich
Branch: MAIN
Changes since 1.72: +1 -1 lines
Diff to previous 1.72 (colored)

Check inode->i_sb->s_magic when looking for xfs inodes

Revision 1.72 / (download) - annotate - [select for diffs], Thu Aug 8 15:50:57 2002 UTC (15 years, 2 months ago) by roehrich
Branch: MAIN
Changes since 1.71: +4 -3 lines
Diff to previous 1.71 (colored)

It's not safe to call LINVFS_GET_VP(inode) when you don't even know if you
have an XFS inode.  You can end up with a mess.  So, check for the linvfs
file operations vector on the inode to decide if it is an XFS inode.
In path_to_handle/fshandle functions, check for the linvfs operations vector
on the inode to decide if it is an XFS inode.

Revision 1.71 / (download) - annotate - [select for diffs], Tue Jul 30 20:15:19 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.70: +3 -0 lines
Diff to previous 1.70 (colored)

Set O_LARGEFILE flag when we do xfs_open_by_handle on 64-bit machines
(follow example of sys_open)

Revision 1.70 / (download) - annotate - [select for diffs], Fri Jul 26 22:39:53 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.69: +0 -2 lines
Diff to previous 1.69 (colored)

remove unnecessary includes, ensure config.h

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

kill LINVFS_GET_VPTR

Revision 1.68 / (download) - annotate - [select for diffs], Fri Jul 12 20:52:29 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.67: +1 -2 lines
Diff to previous 1.67 (colored)

kill get_current_cred()

Revision 1.67 / (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.66: +51 -51 lines
Diff to previous 1.66 (colored)

whitespace cleanup

Revision 1.66 / (download) - annotate - [select for diffs], Wed Jul 10 14:23:21 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.65: +1 -0 lines
Diff to previous 1.65 (colored)

only include iobuf.h where needed

Revision 1.65 / (download) - annotate - [select for diffs], Tue Jul 9 02:59:39 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.64: +1 -1 lines
Diff to previous 1.64 (colored)

Get max direct I/O size from a different place

Revision 1.64 / (download) - annotate - [select for diffs], Wed Jun 26 13:12:10 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.63: +5 -6 lines
Diff to previous 1.63 (colored)

remove some unused cred structs from the stack

Revision 1.63 / (download) - annotate - [select for diffs], Tue Jun 18 20:32:24 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.62: +13 -1 lines
Diff to previous 1.62 (colored)

Add new version of geometry ioctl

Revision 1.62 / (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.61: +1 -1 lines
Diff to previous 1.61 (colored)

Update copyright dates

Revision 1.61 / (download) - annotate - [select for diffs], Fri May 31 03:57:01 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.60: +1 -2 lines
Diff to previous 1.60 (colored)

Use a LINVFS_GET_VPTR macro (in 2.5 is the same as LINVFS_GET_VP,
in 2.4 its the same as LINVFS_GET_VN_ADDRESS) to allow us to keep a
bunch of code the same between the two trees.

Revision 1.60 / (download) - annotate - [select for diffs], Wed May 22 16:30:23 2002 UTC (15 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.59: +1 -1 lines
Diff to previous 1.59 (colored)

Use xfs_iput_new for new inodes that are still locked

Revision 1.59 / (download) - annotate - [select for diffs], Thu May 16 16:00:48 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.58: +1 -1 lines
Diff to previous 1.58 (colored)

For direct I/O alignment, report the fs blocksize, not 512 bytes as the
required alignment.

Revision 1.58 / (download) - annotate - [select for diffs], Thu May 2 17:13:43 2002 UTC (15 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.57: +0 -1 lines
Diff to previous 1.57 (colored)

Remove call to linvfs_set_inode_ops, done elsewhere now

Revision 1.57 / (download) - annotate - [select for diffs], Fri Apr 26 21:46:13 2002 UTC (15 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.56: +2 -1 lines
Diff to previous 1.56 (colored)

Return error with correct (+) sign if linvfs_revalidate_core fails

Revision 1.56 / (download) - annotate - [select for diffs], Tue Apr 2 05:38:31 2002 UTC (15 years, 6 months ago) by tes
Branch: MAIN
Changes since 1.55: +0 -1 lines
Diff to previous 1.55 (colored)

Don't call dput(dentry), it is already done on failure by
dentry_open().

Revision 1.55 / (download) - annotate - [select for diffs], Tue Feb 26 00:33:20 2002 UTC (15 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.54: +0 -29 lines
Diff to previous 1.54 (colored)

Merge of 2.4.18-xfs:slinx:112528b by nathans.

  remove several no-longer-used fields (iosize) from the xfs_iocore_t.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Feb 26 00:22:44 2002 UTC (15 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.53: +1 -1 lines
Diff to previous 1.53 (colored)

Merge of 2.4.18-xfs:slinx:112093a by nathans.

  LKML consesus (and ext2/ext3 behaviour) is to return ENOTTY for an
  invalid ioctl command, not EINVAL.  make it so for XFS.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Feb 25 23:42:16 2002 UTC (15 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.52: +2 -197 lines
Diff to previous 1.52 (colored)

Merge of 2.4.18-xfs:slinx:111144a by nathans.

  Kernel changes to transition us to the new extended attribute and ACL
  interfaces.  Some minor code rearranging (files moved, some deleted,
  some new ones from ext2/ext3 ACL project) too.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Dec 11 20:29:05 2001 UTC (15 years, 10 months ago) by roehrich
Branch: MAIN
Changes since 1.51: +4 -3 lines
Diff to previous 1.51 (colored)

Clean up a pile of invisible I/O problems:

- By having an O-flag, non-privileged users could get invisible I/O--bad,bad.
  So toss out the O-flag and use our existing FINVIS in filp->f_mode.  Seems
  to me we really need a new field in struct file for stuff like this, but
  this will do for now.
- Sometimes linvfs_follow_link would get invisible I/O, because of garbage
  in the kmalloc'd memory.
- xfs_open_by_handle is supposed to set invisible I/O, but it wasn't doing
  that on Linux.  This is this function's purpose in life, so, it was kinda
  missing the boat.
No Message Supplied

Revision 1.51 / (download) - annotate - [select for diffs], Thu Dec 6 21:29:13 2001 UTC (15 years, 10 months ago) by roehrich
Branch: MAIN
Changes since 1.50: +3 -6 lines
Diff to previous 1.50 (colored)

xfs_fssetdm_by_handle() was the last user of xfs_dm_fcntl(), and the only
effect was to get a redundant check on CAP_MKNOD.  Bypass it, and go straight
to xfs_set_dmattrs().

Revision 1.50 / (download) - annotate - [select for diffs], Wed Nov 14 04:41:19 2001 UTC (15 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.49: +1 -1 lines
Diff to previous 1.49 (colored)

convert over from struct acl and other ACL related types/macros to
an xfs_acl_t variant so we can tell what is XFS-specific and what
is not.  will help our transition to a common EA/ACL codebase while
keeping our existing ondisk format intact.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Oct 14 07:09:57 2001 UTC (16 years ago) by nathans
Branch: MAIN
Changes since 1.48: +509 -722 lines
Diff to previous 1.48 (colored)

took to this file with a mop and bucket.  numerous inconsistencies in
layout of the source fixed up, created a _shared_ (hello!) routine -
xfs_vget_fsop_handlereq - which abstracts the oft-repeated code for
converting a handle to an inode, so that it is no longer cut&pasted
for each command.  add the two new extended attribute operations, and
add comments to note that attrctl will be deprecated in the future.
fix the io error code to be conditional elsewhere, so we have fewer
inline cpp macros for conditional features.  tidied up the xfs_ioctl
routine in several ways also - all much cleaner now.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Aug 20 07:39:46 2001 UTC (16 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.47: +3 -28 lines
Diff to previous 1.47 (colored)

fix up STATIC functions, remove unneeded function prototypes that fell
out of the wordwork from doing this.

Revision 1.47 / (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.46: +2 -28 lines
Diff to previous 1.46 (colored)

"Merge" of irix6.5f:irix:100627b
Move freeze/thaw ioctls out of case statements into functions

Revision 1.46 / (download) - annotate - [select for diffs], Fri Aug 10 21:14:47 2001 UTC (16 years, 2 months ago) by roehrich
Branch: MAIN
Changes since 1.45: +21 -8 lines
Diff to previous 1.45 (colored)

add some iputs to error handling code in the xfs_*by_handle() funcs.
Use LINVFS_GET_IP where appropriate.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Aug 10 20:49:41 2001 UTC (16 years, 2 months ago) by eric
Branch: MAIN
Changes since 1.44: +8 -1 lines
Diff to previous 1.44 (colored)

set inode ops in xfs_attrctl_by_handle

Revision 1.44 / (download) - annotate - [select for diffs], Thu Aug 9 20:19:32 2001 UTC (16 years, 2 months ago) by eric
Branch: MAIN
Changes since 1.43: +1 -5 lines
Diff to previous 1.43 (colored)

Add DCACHE_REFERENCED to dentry flags in xfs_open_by_handle.
Don't call d_rehash on new dentry so that dput will tear it down.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jul 19 19:18:54 2001 UTC (16 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.42: +136 -23 lines
Diff to previous 1.42 (colored)

implement xfs_fssetdm_by_handle

Revision 1.42 / (download) - annotate - [select for diffs], Wed Jul 18 05:18:52 2001 UTC (16 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.41: +37 -29 lines
Diff to previous 1.41 (colored)

updated with DMAPI setdm details for dump/restore.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Jun 22 20:35:18 2001 UTC (16 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.40: +5 -0 lines
Diff to previous 1.40 (colored)

workaround for problem with gcc 3.0

Revision 1.40 / (download) - annotate - [select for diffs], Thu May 31 08:21:33 2001 UTC (16 years, 4 months ago) by kaos
Branch: MAIN
Changes since 1.39: +4 -0 lines
Diff to previous 1.39 (colored)

Make attrctl code conditional on CONFIG_HAVE_ATTRCTL

Revision 1.39 / (download) - annotate - [select for diffs], Tue May 22 00:45:00 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.38: +7 -1 lines
Diff to previous 1.38 (colored)

Restrict access to XFS_IOC_SET_RESBLKS and XFS_IOC_GET_RESBLKS, these
are not intended for general consumption.

Revision 1.38 / (download) - annotate - [select for diffs], Sun May 20 15:18:20 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.37: +7 -0 lines
Diff to previous 1.37 (colored)

Fix xfsdump - open by handle was not setting inode ops correctly after
the previous change.

Revision 1.37 / (download) - annotate - [select for diffs], Thu May 17 02:58:46 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.36: +42 -0 lines
Diff to previous 1.36 (colored)

Add new FREEZE and THAW ioctl calls. The FREEZE call will pause all
activity in the filesystem which causes modifications, and flush all
state out to disk. The thaw ioctl allows modifications again.

Revision 1.36 / (download) - annotate - [select for diffs], Fri May 11 20:16:24 2001 UTC (16 years, 5 months ago) by cattelan
Branch: MAIN
CVS Tags: Release-1_0_0
Changes since 1.35: +37 -28 lines
Diff to previous 1.35 (colored)

When doing and open_by_handle. Look in dcache for an existing inode entry,
if exists drop the inode count and do not create a new dcache entry.
The i_count was then to high and not part of a parent tree, 
therefore it wasn't being cleaned up at umount time.

Consistency change: use xfs_iget (which does all the necessary setup on
vnode) rather than iget.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Apr 9 17:05:56 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.34: +1 -1 lines
Diff to previous 1.34 (colored)

add new argument to linvfs_revalidate_core()

Revision 1.34 / (download) - annotate - [select for diffs], Fri Apr 6 18:36:11 2001 UTC (16 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.33: +6 -6 lines
Diff to previous 1.33 (colored)

fix sign problems with error returns, return 0 explicitly when no error

Revision 1.33 / (download) - annotate - [select for diffs], Tue Apr 3 17:32:55 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.32: +1 -1 lines
Diff to previous 1.32 (colored)

Avoid a function call based on kernel profiling showing it up

Revision 1.32 / (download) - annotate - [select for diffs], Tue Mar 6 15:30:57 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
CVS Tags: PreRelease-0_10
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored)

In the DIOINFO ioctl call, report the correct d_maxiosz to user space.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Mar 5 16:47:52 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30 (colored)

fix dioinfo ioctl return values

Revision 1.30 / (download) - annotate - [select for diffs], Wed Feb 21 00:50:22 2001 UTC (16 years, 8 months ago) by mann
Branch: MAIN
Changes since 1.29: +1 -5 lines
Diff to previous 1.29 (colored)

Remove shutdown check, since it's how the error injection is removed......

Revision 1.29 / (download) - annotate - [select for diffs], Wed Feb 14 02:13:43 2001 UTC (16 years, 8 months ago) by dxm
Branch: MAIN
Changes since 1.28: +0 -2 lines
Diff to previous 1.28 (colored)

remove note to self

Revision 1.28 / (download) - annotate - [select for diffs], Fri Feb 9 07:45:14 2001 UTC (16 years, 8 months ago) by ajag
Branch: MAIN
Changes since 1.27: +166 -0 lines
Diff to previous 1.27 (colored)

No Message Supplied

Revision 1.27 / (download) - annotate - [select for diffs], Mon Feb 5 19:06:00 2001 UTC (16 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.26: +2 -0 lines
Diff to previous 1.26 (colored)

Fix a couple of inode leaks in error paths in the open by handle code

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jan 4 00:23:09 2001 UTC (16 years, 9 months ago) by mann
Branch: MAIN
Changes since 1.25: +19 -0 lines
Diff to previous 1.25 (colored)

Moved error injection from SYSSGI to an ioctl().

Revision 1.25 / (download) - annotate - [select for diffs], Wed Nov 22 03:52:40 2000 UTC (16 years, 11 months ago) by eric
Branch: MAIN
Changes since 1.24: +4 -3 lines
Diff to previous 1.24 (colored)

remove/fix unused variables

Revision 1.24 / (download) - annotate - [select for diffs], Wed Nov 22 01:32:17 2000 UTC (16 years, 11 months ago) by dxm
Branch: MAIN
Changes since 1.23: +62 -29 lines
Diff to previous 1.23 (colored)

fix error checking on copy_to_user and copy_from_user

Revision 1.23 / (download) - annotate - [select for diffs], Sat Oct 21 03:16:03 2000 UTC (17 years ago) by nathans
Branch: MAIN
Changes since 1.22: +15 -1 lines
Diff to previous 1.22 (colored)

ensure bulkstat and growfs operations only allow privileged user access.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Oct 9 18:23:10 2000 UTC (17 years ago) by roehrich
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

add some o_invisible checks for ioctl
add some o_invisible checks

Revision 1.21 / (download) - annotate - [select for diffs], Mon Sep 25 05:42:07 2000 UTC (17 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.20: +3 -57 lines
Diff to previous 1.20 (colored)

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

Revision 1.20 / (download) - annotate - [select for diffs], Fri Sep 22 09:46:30 2000 UTC (17 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.19: +0 -1 lines
Diff to previous 1.19 (colored)


remove linvfs_set_dentry_ops

Revision 1.19 / (download) - annotate - [select for diffs], Fri Sep 15 02:21:02 2000 UTC (17 years, 1 month ago) by fsgqa
Branch: MAIN
Changes since 1.18: +1 -0 lines
Diff to previous 1.18 (colored)

pv 801241 rv lord call linvfs_set_dentry_ops to prevent 
refernce leak on dput

Revision 1.18 / (download) - annotate - [select for diffs], Wed Aug 23 17:50:17 2000 UTC (17 years, 2 months ago) by cattelan
Branch: MAIN
Changes since 1.17: +84 -200 lines
Diff to previous 1.17 (colored)

Patch from: William L Jones
It use anonymous dcache entries like nfssd. 
It use dentry_open from fs/open.c to do the mundane work of 
creating a file entry.  

I hope this will meke the code cleaner and easier to maintain and I think it  gets 
rid of some potentially problems that can come about with the way nfsd use 
dcache entries.  It really  needs will formed cache entries for files 
and directories or for them to be anonymous so it can ignore them.


Revision 1.17 / (download) - annotate - [select for diffs], Fri Aug 18 06:48:52 2000 UTC (17 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.16: +5 -1 lines
Diff to previous 1.16 (colored)

return a valid error code from the growfs ioctls.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Aug 12 11:42:00 2000 UTC (17 years, 2 months ago) by ajag
Branch: MAIN
Changes since 1.15: +31 -0 lines
Diff to previous 1.15 (colored)

Added XFS_IOC_FSGROWFSDATA XFS_IOC_FSGROWFSLOG and XFS_IOC_FSGROWFSRT ioctls

Revision 1.15 / (download) - annotate - [select for diffs], Fri Aug 11 05:01:34 2000 UTC (17 years, 2 months ago) by dxm
Branch: MAIN
Changes since 1.14: +64 -67 lines
Diff to previous 1.14 (colored)

- fix xfs_find_handle locking
- fix inode reference leak in xfs_open_by_handle

Revision 1.14 / (download) - annotate - [select for diffs], Wed Aug 9 03:57:49 2000 UTC (17 years, 2 months ago) by dxm
Branch: MAIN
Changes since 1.13: +153 -78 lines
Diff to previous 1.13 (colored)

implement XFS_IOC_FSCOUNTS, XFS_IOC_GET_RESBLKS & XFS_IOC_SET_RESBLKS
fix up handling of XFS_IOC_*HANDLE

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jul 25 14:13:25 2000 UTC (17 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.12: +12 -1 lines
Diff to previous 1.12 (colored)

Add in XFS_IOC_SWAPEXT for defragmenter,
code from William L Jones <jones@tacc.cc.utexas.edu>

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jul 22 04:20:01 2000 UTC (17 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.11: +0 -1 lines
Diff to previous 1.11 (colored)

merge cred, mac, & cap headers to facilitate sharing between user and
kernel tools cleanly.  remove some unused headers, definitions, typedefs,
etc where found also.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 20 22:25:09 2000 UTC (17 years, 3 months ago) by jtk
Branch: MAIN
Changes since 1.10: +1 -1 lines
Diff to previous 1.10 (colored)

Fix a prototype change that was missed in the
off_t -> xfs_off_t conversion.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jul 20 21:13:55 2000 UTC (17 years, 3 months ago) by jtk
Branch: MAIN
Changes since 1.9: +33 -24 lines
Diff to previous 1.9 (colored)

Pick up fixes from Bill Jones: rearranging the code that
finds the inode and makes the pseudo-name in the
open by handle code.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jul 20 18:18:19 2000 UTC (17 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.8: +2 -0 lines
Diff to previous 1.8 (colored)

use the prototype for xfs_set_dmattrs
get a prototype from the dmapi header

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jul 19 06:39:51 2000 UTC (17 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.7: +2 -17 lines
Diff to previous 1.7 (colored)

rework the uuid ioctl, remove some dead uuid code.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jul 11 07:27:23 2000 UTC (17 years, 3 months ago) by ivanr
Branch: MAIN
Changes since 1.6: +23 -0 lines
Diff to previous 1.6 (colored)

add support for new ioctl XFS_IOC_GETFSUUID which returns the filesystem uuid

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jun 15 03:57:07 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.5: +0 -5 lines
Diff to previous 1.5 (colored)

remove unused UIO fields.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jun 9 06:40:03 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.4: +7 -13 lines
Diff to previous 1.4 (colored)

Merge of 2.3.99pre2-xfs:slinx:62680a originally by jtk on 05/24/00
  Remove extraneous 'iget', made unnecessary now
  that xfs_iget/vn_get/vn_alloc does it.

Merge of 2.3.99pre2-xfs:slinx:63026a originally by cattelan on 05/30/00
  Masive type update 
  all daddr_t -> xfs_daddr_t
  caddr_t -> xfs_caddr_t
  off_t   -> xfs_off_t
  ino_t   -> xfs_ino_t
  off64_t -> xfs_off_t 
  Removed need for file xfs_to_linux.h and lunux_to_xfs.h

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jun 9 03:35:56 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.3: +701 -22 lines
Diff to previous 1.3 (colored)

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

  Implement path_to_fshandle(), fd_to_handle(), path_to_handle(),
  open_by_handle(), readlink_by_handle(), bulkstat() &
  bulkstat_single() ioctl routines.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jun 9 03:02:29 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.2: +0 -2 lines
Diff to previous 1.2 (colored)

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

  Remove debugging printk() left in by mistake.

Revision 1.2 / (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.1: +25 -12 lines
Diff to previous 1.1 (colored)

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

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jun 9 02:42:56 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
CVS Tags: DELETE

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

  New linvfs_ioctl() routine that does by way of ioctl()
  all that used to be done via extensions to fcntl.

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>