aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_iops.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_iops.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_iops.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/fs/xfs/linux-2.6/xfs_iops.c b/fs/xfs/linux-2.6/xfs_iops.c
index 0857658882e0..484daef91d7f 100644
--- a/fs/xfs/linux-2.6/xfs_iops.c
+++ b/fs/xfs/linux-2.6/xfs_iops.c
@@ -200,7 +200,7 @@ xfs_ichgtime_fast(
200STATIC void 200STATIC void
201xfs_validate_fields( 201xfs_validate_fields(
202 struct inode *ip, 202 struct inode *ip,
203 struct vattr *vattr) 203 bhv_vattr_t *vattr)
204{ 204{
205 vattr->va_mask = XFS_AT_NLINK|XFS_AT_SIZE|XFS_AT_NBLOCKS; 205 vattr->va_mask = XFS_AT_NLINK|XFS_AT_SIZE|XFS_AT_NBLOCKS;
206 if (!bhv_vop_getattr(vn_from_inode(ip), vattr, ATTR_LAZY, NULL)) { 206 if (!bhv_vop_getattr(vn_from_inode(ip), vattr, ATTR_LAZY, NULL)) {
@@ -290,7 +290,7 @@ xfs_vn_mknod(
290 dev_t rdev) 290 dev_t rdev)
291{ 291{
292 struct inode *ip; 292 struct inode *ip;
293 vattr_t vattr = { 0 }; 293 bhv_vattr_t vattr = { 0 };
294 bhv_vnode_t *vp = NULL, *dvp = vn_from_inode(dir); 294 bhv_vnode_t *vp = NULL, *dvp = vn_from_inode(dir);
295 xfs_acl_t *default_acl = NULL; 295 xfs_acl_t *default_acl = NULL;
296 attrexists_t test_default_acl = _ACL_DEFAULT_EXISTS; 296 attrexists_t test_default_acl = _ACL_DEFAULT_EXISTS;
@@ -417,7 +417,7 @@ xfs_vn_link(
417 struct inode *ip; /* inode of guy being linked to */ 417 struct inode *ip; /* inode of guy being linked to */
418 bhv_vnode_t *tdvp; /* target directory for new name/link */ 418 bhv_vnode_t *tdvp; /* target directory for new name/link */
419 bhv_vnode_t *vp; /* vp of name being linked */ 419 bhv_vnode_t *vp; /* vp of name being linked */
420 vattr_t vattr; 420 bhv_vattr_t vattr;
421 int error; 421 int error;
422 422
423 ip = old_dentry->d_inode; /* inode being linked to */ 423 ip = old_dentry->d_inode; /* inode being linked to */
@@ -444,7 +444,7 @@ xfs_vn_unlink(
444{ 444{
445 struct inode *inode; 445 struct inode *inode;
446 bhv_vnode_t *dvp; /* directory containing name to remove */ 446 bhv_vnode_t *dvp; /* directory containing name to remove */
447 vattr_t vattr; 447 bhv_vattr_t vattr;
448 int error; 448 int error;
449 449
450 inode = dentry->d_inode; 450 inode = dentry->d_inode;
@@ -465,7 +465,7 @@ xfs_vn_symlink(
465 const char *symname) 465 const char *symname)
466{ 466{
467 struct inode *ip; 467 struct inode *ip;
468 vattr_t va = { 0 }; 468 bhv_vattr_t va = { 0 };
469 bhv_vnode_t *dvp; /* directory containing name of symlink */ 469 bhv_vnode_t *dvp; /* directory containing name of symlink */
470 bhv_vnode_t *cvp; /* used to lookup symlink to put in dentry */ 470 bhv_vnode_t *cvp; /* used to lookup symlink to put in dentry */
471 int error; 471 int error;
@@ -499,7 +499,7 @@ xfs_vn_rmdir(
499{ 499{
500 struct inode *inode = dentry->d_inode; 500 struct inode *inode = dentry->d_inode;
501 bhv_vnode_t *dvp = vn_from_inode(dir); 501 bhv_vnode_t *dvp = vn_from_inode(dir);
502 vattr_t vattr; 502 bhv_vattr_t vattr;
503 int error; 503 int error;
504 504
505 error = bhv_vop_rmdir(dvp, dentry, NULL); 505 error = bhv_vop_rmdir(dvp, dentry, NULL);
@@ -520,7 +520,7 @@ xfs_vn_rename(
520 struct inode *new_inode = ndentry->d_inode; 520 struct inode *new_inode = ndentry->d_inode;
521 bhv_vnode_t *fvp; /* from directory */ 521 bhv_vnode_t *fvp; /* from directory */
522 bhv_vnode_t *tvp; /* target directory */ 522 bhv_vnode_t *tvp; /* target directory */
523 vattr_t vattr; 523 bhv_vattr_t vattr;
524 int error; 524 int error;
525 525
526 fvp = vn_from_inode(odir); 526 fvp = vn_from_inode(odir);
@@ -643,7 +643,7 @@ xfs_vn_setattr(
643 struct inode *inode = dentry->d_inode; 643 struct inode *inode = dentry->d_inode;
644 unsigned int ia_valid = attr->ia_valid; 644 unsigned int ia_valid = attr->ia_valid;
645 bhv_vnode_t *vp = vn_from_inode(inode); 645 bhv_vnode_t *vp = vn_from_inode(inode);
646 vattr_t vattr = { 0 }; 646 bhv_vattr_t vattr = { 0 };
647 int flags = 0; 647 int flags = 0;
648 int error; 648 int error;
649 649