Diff for /xfs-linux/xfs_vnodeops.c between versions 1.774 and 1.775

version 1.774, 2008/09/05 06:13:54 version 1.775, 2008/10/03 04:30:43
Line 182  xfs_setattr( Line 182  xfs_setattr(
         xfs_ilock(ip, lock_flags);          xfs_ilock(ip, lock_flags);
   
         /* boolean: are we the file owner? */          /* boolean: are we the file owner? */
         file_owner = (current_fsuid(credp) == ip->i_d.di_uid);          file_owner = (current_fsuid() == ip->i_d.di_uid);
   
         /*          /*
          * Change various properties of a file.           * Change various properties of a file.
Line 1533  xfs_create( Line 1533  xfs_create(
          * Make sure that we have allocated dquot(s) on disk.           * Make sure that we have allocated dquot(s) on disk.
          */           */
         error = XFS_QM_DQVOPALLOC(mp, dp,          error = XFS_QM_DQVOPALLOC(mp, dp,
                         current_fsuid(credp), current_fsgid(credp), prid,                          current_fsuid(), current_fsgid(), prid,
                         XFS_QMOPT_QUOTALL|XFS_QMOPT_INHERIT, &udqp, &gdqp);                          XFS_QMOPT_QUOTALL|XFS_QMOPT_INHERIT, &udqp, &gdqp);
         if (error)          if (error)
                 goto std_return;                  goto std_return;
Line 2277  xfs_mkdir( Line 2277  xfs_mkdir(
          * Make sure that we have allocated dquot(s) on disk.           * Make sure that we have allocated dquot(s) on disk.
          */           */
         error = XFS_QM_DQVOPALLOC(mp, dp,          error = XFS_QM_DQVOPALLOC(mp, dp,
                         current_fsuid(credp), current_fsgid(credp), prid,                          current_fsuid(), current_fsgid(), prid,
                         XFS_QMOPT_QUOTALL | XFS_QMOPT_INHERIT, &udqp, &gdqp);                          XFS_QMOPT_QUOTALL | XFS_QMOPT_INHERIT, &udqp, &gdqp);
         if (error)          if (error)
                 goto std_return;                  goto std_return;
Line 2503  xfs_symlink( Line 2503  xfs_symlink(
          * Make sure that we have allocated dquot(s) on disk.           * Make sure that we have allocated dquot(s) on disk.
          */           */
         error = XFS_QM_DQVOPALLOC(mp, dp,          error = XFS_QM_DQVOPALLOC(mp, dp,
                         current_fsuid(credp), current_fsgid(credp), prid,                          current_fsuid(), current_fsgid(), prid,
                         XFS_QMOPT_QUOTALL | XFS_QMOPT_INHERIT, &udqp, &gdqp);                          XFS_QMOPT_QUOTALL | XFS_QMOPT_INHERIT, &udqp, &gdqp);
         if (error)          if (error)
                 goto std_return;                  goto std_return;

Removed from v.1.774  
changed lines
  Added in v.1.775


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>