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

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.45 / (download) - annotate - [select for diffs], Wed Jul 23 16:36:45 2008 UTC (9 years, 3 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.44: +1 -0 lines
Diff to previous 1.44 (colored)

Move attr log alloc size calculator to another function.

We will need that to be able to calculate the size of log we need for
a specific attr (for Create+EA). The local flag is needed so that we
can fail if we run into ENOSPC when trying to alloc blocks.

Signed-off-by: Niv Sardi <xaiki@sgi.com>
Merge of xfs-linux-melb:xfs-kern:31727a by kenmcd.

Revision 1.44 / (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.43: +0 -16 lines
Diff to previous 1.43 (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.43 / (download) - annotate - [select for diffs], Thu Jun 19 06:16:45 2008 UTC (9 years, 4 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.42: +1 -1 lines
Diff to previous 1.42 (colored)

Fix up warning for xfs_vn_listxatt's call of list_one_attr() with context count
of ssize_t versus int. Change context count to be ssize_t.
Merge of xfs-linux-melb:xfs-kern:31333a by kenmcd.

  Fix up warning for xfs_vn_listxattr's call of list_one_attr() with context count
  of ssize_t versus int. Change context count to be ssize_t.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Jun 18 06:16:45 2008 UTC (9 years, 4 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.41: +30 -25 lines
Diff to previous 1.41 (colored)

Switches xfs_vn_listxattr to set it's put_listent callback
directly and not go through xfs_attr_list.

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

  Switches xfs_vn_listxattr to set it's put_listent callback
  directly and not go through xfs_attr_list.

Revision 1.41 / (download) - annotate - [select for diffs], Tue May 27 06:12:23 2008 UTC (9 years, 5 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.40: +0 -17 lines
Diff to previous 1.40 (colored)

Use the generic xattr methods.

Use the generic set, get and removexattr methods and supply the s_xattr
array with fine-grained handlers.  All XFS/Linux highlevel attr handling is
rewritten from scratch and placed into fs/xfs/linux-2.6/xfs_xattr.c so
that it's separated from the generic low-level code.

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

  Use generic set/get/remove xattr methods.

Revision 1.40 / (download) - annotate - [select for diffs], Thu May 15 06:17:24 2008 UTC (9 years, 5 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.39: +0 -2 lines
Diff to previous 1.39 (colored)

Kill attr_capable checks as already done in xattr_permission.

No need for addition permission checks in the xattr handler,
fs/xattr.c:xattr_permission() already does them, and in fact slightly
more strict then what was in the attr_capable handlers.

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

  Kill attr_capable checks as already done in xattr_permission.

Revision 1.39 / (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.38: +1 -5 lines
Diff to previous 1.38 (colored)

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

  Remove unused function declarations

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

kill struct bhv_vnode

Now that struct bhv_vnode is empty we can just kill it.  Retain bhv_vnode_t
as a typedef for struct inode for the time beeing until all the fallout is
cleaned up.


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

  struct bhv_vnode is empty so just retain it as a typedef to a
  struct inode to minimise cosmetic change.

Revision 1.37 / (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.36: +0 -4 lines
Diff to previous 1.36 (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.36 / (download) - annotate - [select for diffs], Fri Aug 4 13:25:10 2006 UTC (11 years, 2 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.35: +6 -2 lines
Diff to previous 1.35 (colored)

Add EA list callbacks for xfs kernel use.
Cleanup some namespace code.
Merge of xfs-linux-melb:xfs-kern:26583a by kenmcd.

  Some prototype additions.

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

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

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

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

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

Make some extended attributes routines take const parameters, for the FreeBSD porters.
Merge of xfs-linux-melb:xfs-kern:23845a by kenmcd.

Revision 1.32 / (download) - annotate - [select for diffs], Wed May 18 09:29:33 2005 UTC (12 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.31: +0 -7 lines
Diff to previous 1.31 (colored)

mark various symbols static

Patch from Adrian Bunk

Revision 1.31 / (download) - annotate - [select for diffs], Thu Apr 29 06:47:33 2004 UTC (13 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.30: +3 -1 lines
Diff to previous 1.30 (colored)

Remove xfs_iaccess checks on security namespace, needs to be done outside XFS.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Feb 19 01:55:09 2004 UTC (13 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.29: +5 -1 lines
Diff to previous 1.29 (colored)

Fix the by-handle attr list interface (used by xfsdump) for security attrs.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jan 29 03:56:41 2004 UTC (13 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.28: +3 -1 lines
Diff to previous 1.28 (colored)

Add the security extended attributes namespace.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Dec 12 04:08:29 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.27: +39 -5 lines
Diff to previous 1.27 (colored)

Rework some extended attributes code to make it more easily extended.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Oct 20 04:21:43 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.26: +0 -9 lines
Diff to previous 1.26 (colored)

Fix build with tracing enabled, couple of portability macros, move externs into headers.

Revision 1.26 / (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.25: +160 -0 lines
Diff to previous 1.25 (colored)

The Big Move
linux/fs/xfs/xfs_attr.h 1.24 Renamed to xfs_attr.h

Revision 1.25 / (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.24: +0 -160 lines
Diff to previous 1.24 (colored)

Nuke

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

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

Revision 1.23 / (download) - annotate - [select for diffs], Tue Feb 25 08:56:46 2003 UTC (14 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22 (colored)

Transition from xfsroot attribute namespace to the more generic trusted
namespace which other filesystems are also supporting.
Fix an incorrect comment regarding attribute error code (from Andreas).

Revision 1.22 / (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.21: +17 -17 lines
Diff to previous 1.21 (colored)

whitespace cleanup

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

Update copyright dates

Revision 1.20 / (download) - annotate - [select for diffs], Tue Apr 16 13:44:12 2002 UTC (15 years, 6 months ago) by tes
Branch: MAIN
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

Keep ATTR_KERNOTIME same as in IRIX.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Apr 16 12:40:09 2002 UTC (15 years, 6 months ago) by tes
Branch: MAIN
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

Ensure ATTR_* values only change 1 bit.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Apr 16 06:28:49 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.17: +7 -7 lines
Diff to previous 1.17 (colored)

The ATTR_* values were incorrect, ultimately causing xfsdump to do the
wrong thing when manipulating attributes in the root namespace, like
ACLs.  This change brings these back into line with the original IRIX
values, for those that have counterparts in IRIX.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Feb 25 23:44:28 2002 UTC (15 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

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

  add the final piece of the extended attributes interface transition -
  listing the xfs root namespace.

Revision 1.16 / (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.15: +77 -0 lines
Diff to previous 1.15 (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.15 / (download) - annotate - [select for diffs], Mon Sep 25 05:42:07 2000 UTC (17 years, 1 month ago) by nathans
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10, Linux-2_4_5-merge
Changes since 1.14: +4 -6 lines
Diff to previous 1.14 (colored)

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

Revision 1.14 / (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.13: +26 -13 lines
Diff to previous 1.13 (colored)

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

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jan 30 09:59:06 2000 UTC (17 years, 8 months ago) by kenmcd
Branch: MAIN
CVS Tags: DELETE
Changes since 1.12: +11 -16 lines
Diff to previous 1.12 (colored)

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

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

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jan 3 21:41:53 2000 UTC (17 years, 9 months ago) by kenmcd
Branch: MAIN
Changes since 1.11: +24 -1 lines
Diff to previous 1.11 (colored)

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

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jan 6 03:43:02 1997 UTC (20 years, 9 months ago) by montep
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

merge ficus into kudzu (1.9 ... 1.9.1.2)
> ----------------------------
> revision 1.9.1.2
> date: 1996/11/21 18:03:43;  author: casey;  state: Exp;  lines: +2 -2
> Fix declaration of xfs_attr_fetch for application use.
> ----------------------------
> revision 1.9.1.1
> date: 1996/11/20 17:51:00;  author: casey;  state: Exp;  lines: +9 -1
> Expose xfs_attr_leaf_get and xfs_attr_node_get for xfs_attr_fetch
> to support access control lists and mandatory access control.
> =============================================================================

Revision 1.10 / (download) - annotate - [select for diffs], Fri Dec 6 17:40:53 1996 UTC (20 years, 10 months ago) by casey
Branch: MAIN
Changes since 1.9: +8 -1 lines
Diff to previous 1.9 (colored)

Trix footprint merge from ficus

Revision 1.9 / (download) - annotate - [select for diffs], Sat Mar 9 00:15:22 1996 UTC (21 years, 7 months ago) by pjr
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)

remove pvnode_t and related

Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 21 02:10:24 1995 UTC (21 years, 10 months ago) by huy
Branch: MAIN
Changes since 1.7: +5 -5 lines
Diff to previous 1.7 (colored)

new prototypes for xfs_attr_get(), xfs_attr_set(), xfs_attr_remove(),
        xfs_attr_list(). First parameter is now pvnode_t *.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Oct 24 07:44:11 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.6: +0 -0 lines
Diff to previous 1.6 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_attr.h,v
> ----------------------------
> revision 1.6
> date: 1995/10/13 16:11:16;  author: ajs;  state: Exp;  lines: +8 -1
> Put XFS tracing under ifdefs separate from DEBUG
> =============================================================================

Revision 1.6 / (download) - annotate - [select for diffs], Tue Oct 17 08:19:59 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.5: +8 -1 lines
Diff to previous 1.5 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_attr.h,v
> ----------------------------
> revision 1.6
> date: 1995/10/13 16:11:16;  author: ajs;  state: Exp;  lines: +8 -1
> Put XFS tracing under ifdefs separate from DEBUG
> =============================================================================

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jun 15 01:22:11 1995 UTC (22 years, 4 months ago) by curtis
Branch: MAIN
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored)

Adde new prototype for inactive external routine.

Revision 1.4 / (download) - annotate - [select for diffs], Wed May 24 22:29:27 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.3: +1 -39 lines
Diff to previous 1.3 (colored)

Move the attrlist_cursor and attr_multiop_kern structures into
sys/attributes.h under #ifdef _KERNEL, since they're used in os/vncalls.c
and fs/specfs/specvnops.c.

Revision 1.3 / (download) - annotate - [select for diffs], Fri May 19 01:58:11 1995 UTC (22 years, 5 months ago) by curtis
Branch: MAIN
Changes since 1.2: +1 -4 lines
Diff to previous 1.2 (colored)

Cleanups only.

Revision 1.2 / (download) - annotate - [select for diffs], Wed May 17 23:04:53 1995 UTC (22 years, 5 months ago) by curtis
Branch: MAIN
Changes since 1.1: +9 -6 lines
Diff to previous 1.1 (colored)

Changed interfaces for dual-fork inode support.

Revision 1.1 / (download) - annotate - [select for diffs], Mon May 8 20:16:38 1995 UTC (22 years, 5 months ago) by curtis
Branch: MAIN

Initial revision

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>