diff options
author | Brian Behlendorf <[email protected]> | 2011-03-01 14:02:06 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-03-02 11:34:46 -0800 |
commit | 47995fa691a789132373acaedf1e2a64cf213be1 (patch) | |
tree | bf90e90c93548be86c32c9a4460eae096d7494d2 /module | |
parent | a4a1e1ecb42c3a0d9a25b5b0e0b400147b91bdb3 (diff) |
Remove xvattr support
The xvattr support in the spl has always simply consisted of
defining a couple structures and a few #defines. This was enough
to enable compilation of code which just passed xvattr types
around but not enough to effectively manipulate them.
This change removes even this minimal support leaving it up
to packages which leverage the spl to prove the full xvattr
support. By removing it from the spl we ensure not conflict
with the higher level packages.
This just leaves minimal vnode support for basical manipulation
of files. This code is does have the proper support functions
in the spl and a set of regression tests.
Additionally, this change removed the unused 'caller_context_t *'
type and replaces it with a 'void *'.
Diffstat (limited to 'module')
-rw-r--r-- | module/spl/spl-vnode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/spl/spl-vnode.c b/module/spl/spl-vnode.c index 7630ffd33..32ae4865d 100644 --- a/module/spl/spl-vnode.c +++ b/module/spl/spl-vnode.c @@ -283,7 +283,7 @@ EXPORT_SYMBOL(vn_close); * proposed seek. We perform minimal checking and allow vn_rdwr() to catch * anything more serious. */ int -vn_seek(vnode_t *vp, offset_t ooff, offset_t *noffp, caller_context_t *ct) +vn_seek(vnode_t *vp, offset_t ooff, offset_t *noffp, void *ct) { return ((*noffp < 0 || *noffp > MAXOFFSET_T) ? EINVAL : 0); } @@ -476,7 +476,7 @@ vn_getattr(vnode_t *vp, vattr_t *vap, int flags, void *x3, void *x4) vap->va_nodeid = stat.ino; vap->va_nlink = stat.nlink; vap->va_size = stat.size; - vap->va_blocksize = stat.blksize; + vap->va_blksize = stat.blksize; vap->va_atime = stat.atime; vap->va_mtime = stat.mtime; vap->va_ctime = stat.ctime; |