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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.175 / (download) - annotate - [select for diffs], Tue Oct 28 16:24:36 2008 UTC (8 years, 11 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.174: +0 -4 lines
Diff to previous 1.174 (colored)

remove restricted chown parameter from xfs linux

On Linux all filesystems are supposed to be operating under
Posix' restricted chown. Restricted chown means it restricts
chown to the owner unless you have CAP_FOWNER.

NOTE: that 2 files outside of fs/xfs have been modified too
for this change.

Signed-off-by: Tim Shimmin <tes@sgi.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Merge of xfs-linux-melb:xfs-kern:32413a by kenmcd.

  remove restricted chown parameter from xfs linux

Revision 1.174 / (download) - annotate - [select for diffs], Tue Oct 28 05:39:09 2008 UTC (8 years, 11 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.173: +1 -2 lines
Diff to previous 1.173 (colored)

kill sys_cred

capable_cred has been unused for a while so we can kill it and sys_cred.
That also means the cred argument to xfs_setattr and
xfs_change_file_space can be removed now.

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

  kill sys_cred

Revision 1.173 / (download) - annotate - [select for diffs], Thu Oct 23 03:28:38 2008 UTC (9 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.172: +10 -5 lines
Diff to previous 1.172 (colored)

use proper mnt_want_write calls for handle ioctl

Since 2.6.26 all writes to filesystems need to be enclosed by a
mnt_want_write / mnt_drop_write pair instead of checking for IS_RDONLY.

XFs was updated for this in mainline but the changes to xfs_ioctl.c
were never megred back into the CVS tree.

Mainline commit 42a74f206b914db13ee1f5ae932dcd91a77c8579

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Merge of xfs-linux-melb:xfs-kern:32381a by kenmcd.

  use proper mnt_want_write calls for handle ioctl

Revision 1.172 / (download) - annotate - [select for diffs], Fri Oct 3 04:30:43 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.171: +6 -8 lines
Diff to previous 1.171 (colored)

Merge up to 2.6.27-rc8
Merge of xfs-linux-melb:xfs-kern:32254a by kenmcd.

Revision 1.171 / (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.170: +2 -2 lines
Diff to previous 1.170 (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.170 / (download) - annotate - [select for diffs], Fri Jul 18 16:35:20 2008 UTC (9 years, 3 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.169: +27 -2 lines
Diff to previous 1.169 (colored)

Remove vn_revalidate calls in xfs.

These days most of the attributes in struct inode are properly kept in
sync by XFS.  This patch removes the need for vn_revalidate completely
by:
 - keeping inode.i_flags uptodate after any flags are updated in
   xfs_ioctl_setattr
 - keeping i_mode, i_uid and i_gid uptodate in xfs_setattr

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

  remove vn_revalidate calls in xfs.

Revision 1.169 / (download) - annotate - [select for diffs], Fri Jul 18 16:34:26 2008 UTC (9 years, 3 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.168: +2 -2 lines
Diff to previous 1.168 (colored)

Now that xfs_setattr is only used for attributes set from ->setattr it
can be switched to take struct iattr directly and thus simplify the
implementation greatly.  Also rename the ATTR_ flags to XFS_ATTR_ to
not conflict with the ATTR_ flags used by the VFS.


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

  Now that xfs_setattr is only used for attributes set from ->setattr it
  can be switched to take struct iattr directly and thus simplify the
  implementation greatly.  Also rename the ATTR_ flags to XFS_ATTR_ to
  not conflict with the ATTR_ flags used by the VFS.
  Signed-off-by: Christoph Hellwig <hch@lst.de>

Revision 1.168 / (download) - annotate - [select for diffs], Fri Jul 18 16:33:33 2008 UTC (9 years, 3 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.167: +303 -36 lines
Diff to previous 1.167 (colored)

xfs_setattr currently doesn't just handle the attributes set through
->setattr but also addition XFS-specific attributes: project id, inode
flags and extent size hint.  Having these in a single function makes it
more complicated and forces to have us a bhv_vattr intermediate
structure eating up stackspace.

This patch adds a new xfs_ioctl_setattr helper for the XFS ioctls that
set these attributes and remove the code to set them through
xfs_setattr.


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

  xfs_setattr currently doesn't just handle the attributes set through
  ->setattr but also addition XFS-specific attributes: project id, inode
  flags and extent size hint.  Having these in a single function makes it
  more complicated and forces to have us a bhv_vattr intermediate
  structure eating up stackspace.
  This patch adds a new xfs_ioctl_setattr helper for the XFS ioctls that
  set these attributes and removes the code to set them through
  xfs_setattr.
  Signed-off-by: Christoph Hellwig <hch@lst.de>

Revision 1.167 / (download) - annotate - [select for diffs], Wed Jun 25 04:14:48 2008 UTC (9 years, 4 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.166: +1 -1 lines
Diff to previous 1.166 (colored)

attrmulti cleanup

xfs_attrmulti_by_handle currently request the size based on
sizeof(attr_multiop_t) but should be using sizeof(xfs_attr_multiop_t)
because that is what it is dealing with.  Despite beeing wrong this
actually harmless in practice because both structures are the same size
on all platforms.

But this sizeof was the only user of struct attr_multiop so we can just
kill it.  Also move the ATTR_OP_* defines xfs_attr.h into the
struct xfs_attr_multiop defintion in xfs_fs.h because they are only used
with that structure, and are part of the user ABI for the
XFS_IOC_ATTRMULTI_BY_HANDLE ioctl.


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

  attrmulti cleanup

Revision 1.166 / (download) - annotate - [select for diffs], Wed Jun 25 04:13:53 2008 UTC (9 years, 4 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.165: +6 -0 lines
Diff to previous 1.165 (colored)

Check for invalid flags in xfs_attrlist_by_handle.

xfs_attrlist_by_handle should only take the ATTR_ flags for the root
namespaces.  The ATTR_KERN* flags may change at anytime and expect special
preconditions that can't be guaranteed for userspace-originating
requests.  For example passing down ATTR_KERNNOVAL through
xfs_attrlist_by_handle will hit an assert in debug builds currently.

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

  check for invalid flags in xfs_attrlist_by_handle

Revision 1.165 / (download) - annotate - [select for diffs], Mon Apr 21 16:00:46 2008 UTC (9 years, 6 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.164: +3 -3 lines
Diff to previous 1.164 (colored)

Cleanup xfs_attr a bit with xfs_name and remove cred
Merge of xfs-linux-melb:xfs-kern:30913a by kenmcd.

  Remove cred paramater to xfs_attr_get

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

kill di_mode checks after xfs_iget

Unless XFS_IGET_CREATE is passed xfs_iget will return ENOENT if it
encounters an inode with di_mode == 0.  Remove the duplicated checks
in the callers.

(the log recovery case is not touched for now)


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

  kill di_mode checks after xfs_iget

Revision 1.163 / (download) - annotate - [select for diffs], Wed Mar 26 03:23:20 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.162: +67 -65 lines
Diff to previous 1.162 (colored)

split xfs_ioc_xattr

The three subcases of xfs_ioc_xattr don't share any semantics and almost
no code, so split it into three separate helpers.


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

  split xfs_ioc_xattr

Revision 1.162 / (download) - annotate - [select for diffs], Tue Feb 26 15:43:47 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.161: +4 -4 lines
Diff to previous 1.161 (colored)

Fix build issues from merge to 2.6.25-rc3
Merge of xfs-linux-melb:xfs-kern:30557a by kenmcd.

  Fix build issues from merge to 2.6.25-rc3

Revision 1.161 / (download) - annotate - [select for diffs], Fri Feb 22 05:23:13 2008 UTC (9 years, 8 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.160: +254 -308 lines
Diff to previous 1.160 (colored)

The forward declarations for the xfs_ioctl() helpers and
the associated comment about gcc behavior really aren't
needed; all of these functions are marked STATIC which
includes noinline, and the stack usage won't be a problem.

This effectively just removes the forward declarations and
moves xfs_ioctl() back to the end of the file.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Merge of xfs-linux-melb:xfs-kern:30534a by kenmcd.

  removes the forward declarations and moves xfs_ioctl() back to the end of the file.

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

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.159 / (download) - annotate - [select for diffs], Mon Nov 19 14:46:07 2007 UTC (9 years, 11 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.158: +8 -12 lines
Diff to previous 1.158 (colored)

Undoes mod:     xfs-linux-melb:xfs-kern:29840a
Various fixups for xfs_bulkstat().

- sanity check for NULL user buffer in xfs_ioc_bulkstat[_compat]()

- remove the special case for XFS_IOC_FSBULKSTAT with count == 1.  This special
  case causes bulkstat to fail because the special case uses xfs_bulkstat_single()
  instead of xfs_bulkstat() and the two functions have different semantics.
  xfs_bulkstat() will return the next inode after the one supplied while skipping
  internal inodes (ie quota inodes).  xfs_bulkstate_single() will only lookup the
  inode supplied and return an error if it is an internal inode.

- in xfs_bulkstat(), need to initialise 'lastino' to the inode supplied so in cases
  were we return without examining any inodes the scan wont restart back at zero.

- sanity check for valid *ubcountp values.  Cannot sanity check for valid ubuffer
  here because some users of xfs_bulkstat() don't supply a buffer.

- checks against 'ubleft' (the space left in the user's buffer) should be against
  'statstruct_size' which is the supplied minimum object size.  The mixture of
  checks against statstruct_size and 0 was one of the reasons we were skipping
  inodes.

- if the formatter function returns BULKSTAT_RV_NOTHING and an error and the error
  is not ENOENT or EINVAL then we need to abort the scan.  ENOENT is for inodes that
  are no longer valid and we just skip them.  EINVAL is returned if we try to lookup
  an internal inode so we skip them too.  For a DMF scan if the inode and DMF
  attribute cannot fit into the space left in the user's buffer it would return
  ERANGE.  We didn't handle this error and skipped the inode.  We would continue to
  skip inodes until one fitted into the user's buffer or we completed the scan.

- put back the recalculation of agino (that got removed with the last fix) at the
  end of the while loop.  This is because the code at the start of the loop expects
  agino to be the last inode examined if it is non-zero.

- if we found some inodes but then encountered an error, return success this time
  and the error next time.  If the formatter aborted with ENOMEM we will now return
  this error but only if we couldn't read any inodes.  Previously if we encountered
  ENOMEM without reading any inodes we returned a zero count and no error which
  falsely indicated the scan was complete.
Merge of xfs-linux-melb:xfs-kern:30089a by kenmcd.

Revision 1.158 / (download) - annotate - [select for diffs], Mon Nov 5 15:04:07 2007 UTC (9 years, 11 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.157: +1 -1 lines
Diff to previous 1.157 (colored)

optimize XFS_IS_REALTIME_INODE w/o realtime config

Use XFS_IS_REALTIME_INODE in more places, and #define it to
0 if CONFIG_XFS_RT is off.  This should be safe because mount
checks in xfs_rtmount_init:

# define xfs_rtmount_init(m)    (((mp)->m_sb.sb_rblocks == 0)? 0 : (ENOSYS))

so if we get mounted w/o CONFIG_XFS_RT, no realtime inodes should
be encountered after that.

Defining XFS_IS_REALTIME_INODE to 0 saves a bit of stack space,
presumeably gcc can optimize around the various "if (0)" type
checks:

xfs_alloc_file_space    -8
xfs_bmap_adjacent       -16
xfs_bmapi               -8
xfs_bmap_rtalloc        -16
xfs_bunmapi             -28
xfs_free_file_space     -64
xfs_imap                +8  <-- ?  hmm.
xfs_iomap_write_direct  -12
xfs_qm_dqusage_adjust   -4
xfs_qm_vop_chown_reserve -4

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

  Use XFS_IS_REALTIME_INODE() rather than open coding the check.

Revision 1.157 / (download) - annotate - [select for diffs], Fri Nov 2 03:09:06 2007 UTC (9 years, 11 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.156: +1 -1 lines
Diff to previous 1.156 (colored)

Fix up sparse warnings.

These are mostly locking annotations, marking things static,
casts where needed and declaring stuff in header files.
Merge of xfs-linux-melb:xfs-kern:30002a by kenmcd.

  Fix up sparse warnings.

Revision 1.156 / (download) - annotate - [select for diffs], Mon Oct 1 15:54:42 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.155: +28 -51 lines
Diff to previous 1.155 (colored)

cleanup vnode useage in xfs_ioctl.c

xfs_ioctl.c passes around vnode pointers quite a lot, but all places
already have the Linux inode which is identical to the vnode these
days.  Clean the code up to always use the Linux inode.


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

  cleanup vnode useage in xfs_ioctl.c

Revision 1.155 / (download) - annotate - [select for diffs], Wed Sep 26 06:08:57 2007 UTC (10 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.154: +46 -44 lines
Diff to previous 1.154 (colored)

avoid xfs_getattr in XFS_IOC_FSGETXATTR ioctl

No need to call into xfs_getattr and put a big bhv_vattr_t on the stack
just to get a little information from the XFS inode.

Add a helper called xfs_ioc_fsgetxattr instead that deals with retriving
the information in a clean way.


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

  avoid xfs_getattr in XFS_IOC_FSGETXATTR ioctl

Revision 1.154 / (download) - annotate - [select for diffs], Wed Sep 19 04:00:15 2007 UTC (10 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.153: +2 -2 lines
Diff to previous 1.153 (colored)

simplify vn_revalidate

No need to allocate a bhv_vattr_t on stack and call xfs_getattr to
update a few fields in the Linux inode from the XFS inode, just
do it directly.

And yes, this function is in dire need of a better name and prototype,
I'll do in a separate patch, though.


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

  simplify vn_revalidate

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

cleanup fid types mess

Currently XFs has three different fid types: struct fid, struct xfs_fid
and struct xfs_fid2 with hte latter two beeing identicaly and the first
one beeing the same size but an unstructured array with the same size.

This patch consolidates all this to alway uuse struct xfs_fid.

This patch is required for an upcoming patch series from me that revamps
the nfs exporting code and introduces a Linux-wide struct fid.


Note: the patch is ontop of Eric's inode/vnode tracing cleanup.

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

  cleanup fid types mess

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

kill the vfs_fsid and vfs_altfsid members in struct bhv_vfs

vfs_altfsid was just a pointer to mp->m_fixedfsid so we can trivially
replace it with the latter.  vfs_fsid also was identicaly to m_fixedfsid
through rather obsfucated ways so we can kill it aswell and simply it's
only user.


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

  remove vfs_fsid and vfs_altfsid.

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

kill v_vfsp member from struct bhv_vnode

We can easily get at the vfsp through the super_block but it will soon
be gone anyway.


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

  remove v_vfsp from bhv_vnode.

Revision 1.148 / (download) - annotate - [select for diffs], Fri Aug 24 16:04:16 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.147: +20 -20 lines
Diff to previous 1.147 (colored)

call common xfs vnode-level helpers directly and remove vnode operations

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

  remove vnode operations.

Revision 1.147 / (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.146: +21 -27 lines
Diff to previous 1.146 (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.146 / (download) - annotate - [select for diffs], Thu Aug 23 15:58:48 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.145: +45 -18 lines
Diff to previous 1.145 (colored)

stop using uio in the readlink code

Simplify the readlink code to get rid of the last user of uio.


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

  stop using uio in the readlink code.

Revision 1.145 / (download) - annotate - [select for diffs], Mon Jul 9 15:45:29 2007 UTC (10 years, 3 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.144: +1 -1 lines
Diff to previous 1.144 (colored)

Fix XFS_IOC_FSBULKSTAT{,_SINGLE} and XFS_IOC_FSINUMBERS in compat mode

* 32bit struct xfs_fsop_bulkreq has different size and layout of
  members, no matter the alignment. Move the code out of the #else
  branch (why was it there in the first place?). Define _32 variants of
  the ioctl constants.
* 32bit struct xfs_bstat is different because of time_t and on
  i386 because of different padding. Make xfs_bulkstat_one() accept a
  custom "output formatter" in the private_data argument which takes care
  of the xfs_bulkstat_one_compat() that takes care of the different
  layout in the compat case.
* i386 struct xfs_inogrp has different padding. Add a similar "output
  formatter" mecanism to xfs_inumbers().

Signed-Off-By: Michal Marek <mmarek@suse.cz>
Merge of xfs-linux-melb:xfs-kern:29102a by kenmcd.

  Fix XFS_IOC_FSBULKSTAT{,_SINGLE} and XFS_IOC_FSINUMBERS in compat mode

Revision 1.144 / (download) - annotate - [select for diffs], Wed Feb 7 02:50:13 2007 UTC (10 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.143: +0 -2 lines
Diff to previous 1.143 (colored)

Remove unused header files for MAC and CAP checking functionality.

xfs_mac.h and xfs_cap.h provide definitions and macros that aren't
used anywhere in XFS at all. They are left-overs from "to be implement
at some point in the future" functionality that Irix XFS has. If this
functionality ever goes into Linux, it will be provided at a different
layer, most likely through the security hooks in the kernel so we will
never need this functionality in XFS.

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

  Remove unused xfs_cap.h/xfs_mac.h header files.
  Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

Revision 1.143 / (download) - annotate - [select for diffs], Tue Feb 6 14:35:02 2007 UTC (10 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.142: +13 -18 lines
Diff to previous 1.142 (colored)

Clean up use of VFS attr flags

Use the the generic VFS attr flags where appropriate instead
of open coding them to the same values.

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

  Use generic VFS attr flags rather than open coding them.
  Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

Revision 1.142 / (download) - annotate - [select for diffs], Fri Jan 12 15:07:09 2007 UTC (10 years, 9 months ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.141: +5 -5 lines
Diff to previous 1.141 (colored)

Merge up to 2.6.20-rc4
Merge of xfs-linux-melb:xfs-kern:27915a by kenmcd.

Revision 1.141 / (download) - annotate - [select for diffs], Wed Dec 13 02:57:47 2006 UTC (10 years, 10 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.140: +5 -11 lines
Diff to previous 1.140 (colored)

remove unused filp from ioctl functions
Merge of xfs-linux-melb:xfs-kern:27712a by kenmcd.

  remove unused filp from ioctl functions

Revision 1.140 / (download) - annotate - [select for diffs], Tue Dec 12 02:58:07 2006 UTC (10 years, 10 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.139: +1 -1 lines
Diff to previous 1.139 (colored)

use struct kvec in struct uio
Merge of xfs-linux-melb:xfs-kern:27701a by kenmcd.

  use struct kvec in struct uio

Revision 1.139 / (download) - annotate - [select for diffs], Tue Oct 31 02:58:46 2006 UTC (10 years, 11 months ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.138: +4 -1 lines
Diff to previous 1.138 (colored)

956664: dm_read_invis() changes i_atime
Merge of xfs-linux-melb:xfs-kern:27315a by kenmcd.

  pv 956664 - rv sjv, dgc, lachlan: invisible operations should not change atime

Revision 1.138 / (download) - annotate - [select for diffs], Mon Jul 10 03:48:55 2006 UTC (11 years, 3 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.137: +2 -7 lines
Diff to previous 1.137 (colored)

move XFS_IOC_GETVERSION to main multiplexer

Avoids doing an unnecessary inode to vnode conversion and avoids a
memory allocation.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Merge of xfs-linux-melb:xfs-kern:26492a by kenmcd.

  move XFS_IOC_GETVERSION to main multiplexer
  Avoids doing an unnecessary inode to vnode conversion and avoids a
  memory allocation.

Revision 1.137 / (download) - annotate - [select for diffs], Sat Jul 1 15:28:25 2006 UTC (11 years, 3 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.136: +5 -5 lines
Diff to previous 1.136 (colored)

pass inode to xfs_ioc_space(), simplify some code.
There is trivial "inode => vnode => inode" conversion, but only flags and
mode of final inode are looked at. Pass original inode instead.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Merge of xfs-linux-melb:xfs-kern:26395a by kenmcd.

  pass inode to xfs_ioc_space(), simplify some code.

Revision 1.136 / (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.135: +0 -2 lines
Diff to previous 1.135 (colored)

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

Revision 1.135 / (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.134: +1 -1 lines
Diff to previous 1.134 (colored)

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

Revision 1.134 / (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.133: +29 -32 lines
Diff to previous 1.133 (colored)

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

Revision 1.133 / (download) - annotate - [select for diffs], Fri Mar 17 14:28:04 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.132: +4 -4 lines
Diff to previous 1.132 (colored)

Complete transition away from linvfs naming convention, finally.
Merge of xfs-linux-melb:xfs-kern:25474a by kenmcd.

Revision 1.132 / (download) - annotate - [select for diffs], Mon Mar 6 14:20:06 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.131: +1 -1 lines
Diff to previous 1.131 (colored)

Switch over from linvfs names for file operations for consistent naming.
Merge of xfs-linux-melb:xfs-kern:25379a by kenmcd.

Revision 1.131 / (download) - annotate - [select for diffs], Mon Mar 6 02:45:14 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.130: +76 -52 lines
Diff to previous 1.130 (colored)

Dynamically allocate vattr in places it makes sense to do so, to reduce stack use.  Also re-use vattr in some places so that multiple copies are not held on-stack.
Merge of xfs-linux-melb:xfs-kern:25369a by kenmcd.

Revision 1.130 / (download) - annotate - [select for diffs], Wed Jan 25 00:34:27 2006 UTC (11 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.129: +6 -0 lines
Diff to previous 1.129 (colored)

Bring the XFS code in sync with the changed from 2.6.16-rc1

Revision 1.129 / (download) - annotate - [select for diffs], Mon Dec 19 19:00:32 2005 UTC (11 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.128: +1 -4 lines
Diff to previous 1.128 (colored)

add helper to get xfs_inode from vnode

Revision 1.128 / (download) - annotate - [select for diffs], Sat Dec 17 11:31:50 2005 UTC (11 years, 10 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.127: +1 -1 lines
Diff to previous 1.127 (colored)

Complete the pagebuf -> xfs_buf naming convention transition, finally.
Merge of xfs-linux-melb:xfs-kern:24866a by kenmcd.

Revision 1.127 / (download) - annotate - [select for diffs], Mon Dec 5 04:59:52 2005 UTC (11 years, 10 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.126: +1 -1 lines
Diff to previous 1.126 (colored)

Ensure max diosize reported is aligned with minimum diosize.
Merge of xfs-linux-melb:xfs-kern:24689a by kenmcd.

Revision 1.126 / (download) - annotate - [select for diffs], Fri Dec 2 02:47:56 2005 UTC (11 years, 10 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.125: +1 -2 lines
Diff to previous 1.125 (colored)

Make d_maxiosz report the real maximum (INT_MAX) so we dont incorrectly limit people using this interface to size IO buffers.
Merge of xfs-linux-melb:xfs-kern:24657a by kenmcd.

Revision 1.125 / (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.124: +12 -26 lines
Diff to previous 1.124 (colored)

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

Revision 1.124 / (download) - annotate - [select for diffs], Fri Sep 23 03:48:50 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.123: +9 -10 lines
Diff to previous 1.123 (colored)

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

Revision 1.123 / (download) - annotate - [select for diffs], Thu Jul 14 17:07:55 2005 UTC (12 years, 3 months ago) by hch
Branch: MAIN
Changes since 1.122: +11 -5 lines
Diff to previous 1.122 (colored)

remove struct vnode::v_type

Revision 1.122 / (download) - annotate - [select for diffs], Thu Jun 30 16:34:29 2005 UTC (12 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.121: +1 -1 lines
Diff to previous 1.121 (colored)

Fix check for writeable file in xfs_ioc_space ioctl code
Use f_mode when testing FMODE_WRITE not f_flags

Revision 1.121 / (download) - annotate - [select for diffs], Mon Jun 20 03:43:15 2005 UTC (12 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.120: +8 -25 lines
Diff to previous 1.120 (colored)

Makes more sense to use the fsxattr interface instead of adding new ioctls for project IDs.
Merge of xfs-linux-melb:xfs-kern:22899a by kenmcd.

Revision 1.120 / (download) - annotate - [select for diffs], Thu Mar 24 05:02:44 2005 UTC (12 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.119: +22 -0 lines
Diff to previous 1.119 (colored)

Add a get/set interface for XFS project identifiers.
Merge of xfs-linux-melb:xfs-kern:21938a by kenmcd.

Revision 1.119 / (download) - annotate - [select for diffs], Fri Feb 18 12:10:05 2005 UTC (12 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.118: +164 -70 lines
Diff to previous 1.118 (colored)

Don't dereference user pointers in xattr by handle ioctls
fix direct user pointer dereferences in xattr by handle ioctls
small code cleanup

Revision 1.118 / (download) - annotate - [select for diffs], Wed Jan 12 22:38:29 2005 UTC (12 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.117: +1 -1 lines
Diff to previous 1.117 (colored)

Stop passing ARCH_CONVERT/ARCH_NOCONVERT around everywhere
stop passing ARCH_CONVERT/ARCH_NOCONVERT around everywhere

Revision 1.117 / (download) - annotate - [select for diffs], Fri Dec 24 04:54:28 2004 UTC (12 years, 10 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.116: +6 -1 lines
Diff to previous 1.116 (colored)

Add sanity checks before use of attr_multi opcount parameter.
Merge of xfs-linux-melb:xfs-kern:20991a by kenmcd.

Revision 1.116 / (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.115: +1 -1 lines
Diff to previous 1.115 (colored)

handle inode creating race
xfs_iget gained another parameter

Revision 1.115 / (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.114: +0 -0 lines
Diff to previous 1.114 (colored)

Handle inode creating race
xfs_iget gained another parameter

Revision 1.114 / (download) - annotate - [select for diffs], Mon Aug 16 16:43:08 2004 UTC (13 years, 2 months ago) by hch
Branch: MAIN
Changes since 1.113: +0 -8 lines
Diff to previous 1.113 (colored)

Add 32bit ioctl translation
move file flag ioctl defintions to xfs_fs.h

Revision 1.113 / (download) - annotate - [select for diffs], Fri Aug 13 05:31:26 2004 UTC (13 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.112: +23 -23 lines
Diff to previous 1.112 (colored)

Use sparse whitespace approach that Al took to be more consistent.  Couple more sparse fixes.

Revision 1.112 / (download) - annotate - [select for diffs], Mon Jun 28 10:11:58 2004 UTC (13 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.111: +27 -27 lines
Diff to previous 1.111 (colored)

sparse: annotate vfs interfaces for user pointers.  From Chris Wedgwood.

Revision 1.111 / (download) - annotate - [select for diffs], Mon Jun 28 09:55:39 2004 UTC (13 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.110: +31 -34 lines
Diff to previous 1.110 (colored)

sparse: remove unneeded casts for user buffers.  From Chris Wedgwood.

Revision 1.110 / (download) - annotate - [select for diffs], Wed Jun 9 09:33:17 2004 UTC (13 years, 4 months ago) by hch
Branch: MAIN
Changes since 1.109: +5 -2 lines
Diff to previous 1.109 (colored)

Integrate freeze/unfrezze with Linux 2.6 VFS infrastructure
call freeze_bdev/unfreeze_bdev instead of XFS-own code for freeze/unfreeze

Revision 1.109 / (download) - annotate - [select for diffs], Mon May 10 06:17:46 2004 UTC (13 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.108: +22 -12 lines
Diff to previous 1.108 (colored)

Make uses of extended inode flags consistent, remove duplicated code.

Revision 1.108 / (download) - annotate - [select for diffs], Mon May 3 07:00:36 2004 UTC (13 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.107: +2 -2 lines
Diff to previous 1.107 (colored)

Remove unused transaction pointer from bulkstat.

Revision 1.107 / (download) - annotate - [select for diffs], Fri Mar 26 15:21:29 2004 UTC (13 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.106: +7 -1 lines
Diff to previous 1.106 (colored)

check CAP_SYS_ADMIN for error injection ioctls, fix r/o filesystem check in xfs_ioc_space

Revision 1.106 / (download) - annotate - [select for diffs], Sat Feb 28 13:41:58 2004 UTC (13 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.105: +1 -1 lines
Diff to previous 1.105 (colored)

really kill the pagebuf vs xfs_buf confusion

Revision 1.105 / (download) - annotate - [select for diffs], Sat Feb 28 12:07:56 2004 UTC (13 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.104: +0 -0 lines
Diff to previous 1.104 (colored)

replace page_buf_t, pb_target_t and page_buf_daddr_t with their xfs_ variants

Revision 1.104 / (download) - annotate - [select for diffs], Tue Feb 10 03:00:00 2004 UTC (13 years, 8 months ago) by tes
Branch: MAIN
Changes since 1.103: +21 -18 lines
Diff to previous 1.103 (colored)

Add XFS_FS_GOINGDOWN ioctl to xfs.
My motivation is for log recovery testing.
Simplify returning of some error codes for ioctls and
make consistent.
Add XFS_IOC_GOINGDOWN as a new cmd ioctl.

Revision 1.103 / (download) - annotate - [select for diffs], Fri Oct 17 04:03:53 2003 UTC (14 years ago) by roehrich
Branch: MAIN
Changes since 1.102: +1 -1 lines
Diff to previous 1.102 (colored)

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

  Update use of xfs_bulkstat.

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

Use an xfs_ino_t to hold the result of inode extraction from a handle, not a possibly 32-bit number
Merge of xfs-linux:slinx:159943a by nathans.

Revision 1.101 / (download) - annotate - [select for diffs], Wed Oct 8 18:40:57 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.100: +11 -5 lines
Diff to previous 1.100 (colored)

remove FINVIS from xfs, instead use a seperate file ops
vector for files which are opened for invisible I/O.
Merge of xfs-linux:slinx:159680a by lord.

  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.100 / (download) - annotate - [select for diffs], Wed Oct 8 17:06:23 2003 UTC (14 years ago) by lord
Branch: MAIN
CVS Tags: DELETE-570
Changes since 1.99: +1 -2 lines
Diff to previous 1.99 (colored)

cleanup uio use some more
Merge of xfs-linux:slinx:159633a by lord.

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

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

Revision 1.98 / (download) - annotate - [select for diffs], Tue Jul 29 16:41:53 2003 UTC (14 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.97: +4 -8 lines
Diff to previous 1.97 (colored)

Change XFS to support sector aligned O_DIRECT rather than filesystem block
alignment.
Change XFS_IOC_DIOINFO to return the new alignment rules

Revision 1.97 / (download) - annotate - [select for diffs], Thu May 1 17:24:11 2003 UTC (14 years, 5 months ago) by cattelan
Branch: MAIN
Changes since 1.96: +37 -3 lines
Diff to previous 1.96 (colored)

Merge the header file stuff over
Merge of 2.4.x-xfs:slinx:147627a originally by cattelan on 05/01/03
  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.96 / (download) - annotate - [select for diffs], Wed Apr 16 20:09:14 2003 UTC (14 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.95: +7 -7 lines
Diff to previous 1.95 (colored)

Whitespace cleanup
Merge whitespace cleanup to 2.5 tree
Merge of 2.4.x-xfs:slinx:144573a by cattelan.

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

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

Move some extern declarations out of a .c file into a .h file.
Merge of 2.4.x-xfs:slinx:142922a by nathans.

Revision 1.94 / (download) - annotate - [select for diffs], Mon Mar 17 02:34:53 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.93: +10 -12 lines
Diff to previous 1.93 (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.
Merge of 2.4.x-xfs:slinx:141842a by nathans.

Revision 1.93 / (download) - annotate - [select for diffs], Wed Mar 12 06:04:25 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (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.
Merge of 2.4.x-xfs:slinx:141499a by nathans.

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

First stage of behavior code cleanup - removes a bunch of unused macros
related to read/write locking the behavior change.
Merge of 2.4.x-xfs:slinx:141401a by nathans.

Revision 1.91 / (download) - annotate - [select for diffs], Tue Dec 17 16:06:38 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.90: +2 -1 lines
Diff to previous 1.90 (colored)

merge up to 2.5.52

Revision 1.90 / (download) - annotate - [select for diffs], Tue Dec 3 17:15:05 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.89: +1 -10 lines
Diff to previous 1.89 (colored)

cleanup user path walking code
Merge of 2.4.x-xfs:slinx:133881a originally by hch on 11/22/02
  cleanup user path walking code
  use user_path_walk_link

Merge of 2.4.x-xfs:slinx:133953a originally by nathans on 11/24/02
  Fix cleanup of path walking by handle - use hreq.path, not local path variable.

Revision 1.89 / (download) - annotate - [select for diffs], Mon Dec 2 05:16:48 2002 UTC (14 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.88: +49 -34 lines
Diff to previous 1.88 (colored)

Cleanup after initially investigating unwritten extents.
Merge of 2.4.x-xfs:slinx:134059a by nathans.

  Make several routines static, make declarations consistent.

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

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

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

Change AT_* to XFS_AT_* to prevent namespace collisions; move some type
declarations into more appropriate places.
Merge of 2.4.x-xfs:slinx:132930a by nathans.

  Change AT_* to XFS_AT_* to prevent namespace collisions.

Revision 1.86 / (download) - annotate - [select for diffs], Wed Oct 16 20:06:23 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.85: +5 -5 lines
Diff to previous 1.85 (colored)

merge up to 2.5.43

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

Global search and replace of the b* memory routines to their mem* equivalents.
(bcopy->memcopy, ovbcopy->memmove, bzero->memset, bcmp->memcmp).
Merge of 2.4.x-xfs:slinx:129466a by nathans.

Revision 1.84 / (download) - annotate - [select for diffs], Wed Oct 2 20:17:00 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.83: +0 -6 lines
Diff to previous 1.83 (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.
Merge of 2.4.x-xfs:slinx:128899a by lord.

  Remove a linvfs_revalidate call

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

Merge of 2.4.x-xfs:slinx:126748a by nathans.

  remove an unneeded #include file.

Revision 1.82 / (download) - annotate - [select for diffs], Wed Aug 28 22:36:28 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.81: +12 -2 lines
Diff to previous 1.81 (colored)

Merge of 2.4.x-xfs:slinx:126306a by lord.

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

Revision 1.81 / (download) - annotate - [select for diffs], Wed Aug 28 18:17:51 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.80: +318 -220 lines
Diff to previous 1.80 (colored)

Merge of 2.4.x-xfs:slinx:126253a by lord.

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

Revision 1.80 / (download) - annotate - [select for diffs], Thu Aug 15 15:08:38 2002 UTC (15 years, 2 months ago) by roehrich
Branch: MAIN
Changes since 1.79: +1 -1 lines
Diff to previous 1.79 (colored)

Merge of 2.4.x-xfs:slinx:124638a by lord.

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

Revision 1.79 / (download) - annotate - [select for diffs], Thu Aug 15 15:05:13 2002 UTC (15 years, 2 months ago) by roehrich
Branch: MAIN
Changes since 1.78: +4 -3 lines
Diff to previous 1.78 (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.
Merge of 2.4.x-xfs:slinx:124577a by lord.

  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.78 / (download) - annotate - [select for diffs], Fri Aug 2 17:50:16 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.77: +3 -0 lines
Diff to previous 1.77 (colored)

Merge of 2.4.x-xfs:slinx:123972a by lord.

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

Revision 1.77 / (download) - annotate - [select for diffs], Fri Jul 26 22:50:28 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.76: +0 -1 lines
Diff to previous 1.76 (colored)

remove unnecessary includes, ensure config.h
Merge of 2.4.x-xfs:slinx:123787a by sandeen.

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

kill LINVFS_GET_VPTR
Merge of 2.4.x-xfs:slinx:123488a by sandeen.

Revision 1.75 / (download) - annotate - [select for diffs], Mon Jul 15 15:34:59 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.74: +1 -2 lines
Diff to previous 1.74 (colored)

kill get_current_cred()
Merge of 2.4.x-xfs:slinx:122955a by lord.

Revision 1.74 / (download) - annotate - [select for diffs], Mon Jul 15 11:41:22 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.73: +1 -0 lines
Diff to previous 1.73 (colored)

only include iobuf.h where needed
Merge of 2.4.x-xfs:slinx:122766a by lord.

Revision 1.73 / (download) - annotate - [select for diffs], Wed Jul 10 20:44:06 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.72: +51 -51 lines
Diff to previous 1.72 (colored)

whitespace cleanup
Merge of 2.4.x-xfs:slinx:122792a by sandeen.

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

Merge of 2.4.x-xfs:slinx:122679a by lord.

  Get max direct I/O size from a different place

Revision 1.71 / (download) - annotate - [select for diffs], Mon Jul 8 19:40:22 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.70: +5 -6 lines
Diff to previous 1.70 (colored)

remove some unused cred structs from the stack
Merge of 2.4.x-xfs:slinx:122363a by lord.

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

Merge of 2.4.x-xfs:slinx:121875b by lord.

  Add new version of geometry ioctl

Revision 1.69 / (download) - annotate - [select for diffs], Tue Jun 11 20:54:29 2002 UTC (15 years, 4 months ago) by roehrich
Branch: MAIN
Changes since 1.68: +0 -1 lines
Diff to previous 1.68 (colored)

remove unused var

Revision 1.68 / (download) - annotate - [select for diffs], Sun Jun 9 12:38:16 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.67: +1 -20 lines
Diff to previous 1.67 (colored)

use more kernel builtins for dcache handling

Revision 1.67 / (download) - annotate - [select for diffs], Tue Jun 4 18:56:57 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.66: +1 -1 lines
Diff to previous 1.66 (colored)

Update copyright dates
Merge of 2.4.x-xfs:slinx:120763a by sandeen.

Revision 1.66 / (download) - annotate - [select for diffs], Fri May 31 22:19:43 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.65: +1 -0 lines
Diff to previous 1.65 (colored)

merge up to 2.5.19

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

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

Revision 1.64 / (download) - annotate - [select for diffs], Wed May 22 20:53:45 2002 UTC (15 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.63: +1 -1 lines
Diff to previous 1.63 (colored)

Merge of 2.4.x-xfs:slinx:119875a by sandeen.

  Use xfs_iput_new for new inodes that are still locked

Revision 1.63 / (download) - annotate - [select for diffs], Wed May 22 15:26:34 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.62: +0 -1 lines
Diff to previous 1.62 (colored)

merge up to 2.5.17

Revision 1.62 / (download) - annotate - [select for diffs], Tue May 21 19:57:45 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.61: +1 -1 lines
Diff to previous 1.61 (colored)

Merge of 2.4.x-xfs:slinx:119308a originally by lord on 05/16/02
  For direct I/O alignment, report the fs blocksize, not 512 bytes as the
  required alignment.

Revision 1.61 / (download) - annotate - [select for diffs], Fri May 3 15:00:23 2002 UTC (15 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.60: +0 -1 lines
Diff to previous 1.60 (colored)

Merge of 2.4.x-xfs:slinx:118073a originally by sandeen on 05/02/02
  Remove call to linvfs_set_inode_ops, done elsewhere now

Revision 1.60 / (download) - annotate - [select for diffs], Tue Apr 30 10:26:54 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.59: +2 -1 lines
Diff to previous 1.59 (colored)

Merge of 2.4.x-xfs:slinx:117593a originally by sandeen on 04/26/02
  Return error with correct (+) sign if linvfs_revalidate_core fails

Revision 1.59 / (download) - annotate - [select for diffs], Wed Apr 24 14:52:56 2002 UTC (15 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored)

merge up to 2.5.9

Revision 1.58 / (download) - annotate - [select for diffs], Tue Apr 2 06:57:30 2002 UTC (15 years, 6 months ago) by tes
Branch: MAIN
Changes since 1.57: +0 -1 lines
Diff to previous 1.57 (colored)

Merge of 2.4.x-xfs:slinx:115359a by nathans.

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

Revision 1.57 / (download) - annotate - [select for diffs], Fri Mar 8 21:05:27 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.56: +1 -3 lines
Diff to previous 1.56 (colored)

merge up to 2.5.6

Revision 1.56 / (download) - annotate - [select for diffs], Tue Feb 26 03:56:51 2002 UTC (15 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.55: +0 -29 lines
Diff to previous 1.55 (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.55 / (download) - annotate - [select for diffs], Tue Feb 26 03:46:43 2002 UTC (15 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.54: +1 -1 lines
Diff to previous 1.54 (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.54 / (download) - annotate - [select for diffs], Tue Feb 26 03:24:19 2002 UTC (15 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.53: +2 -197 lines
Diff to previous 1.53 (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.53 / (download) - annotate - [select for diffs], Thu Jan 31 11:48:25 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.52: +1 -2 lines
Diff to previous 1.52 (colored)

merge LINVFS_GET_VN_ADDRESS and LINVFS_GET_VP

Revision 1.52 / (download) - annotate - [select for diffs], Tue Dec 11 22:45:18 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.
Merge of 2.4.x-xfs:slinx:108244a by lord.

  No Message Supplied

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

Merge of 2.4.x-xfs:slinx:107944a by lord.

  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>