Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40866
b: refs/heads/master
c: 70a5052
h: refs/heads/master
v: v3
  • Loading branch information
Vlad Apostolov authored and Tim Shimmin committed Nov 11, 2006
1 parent dbea527 commit a34d19e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 439b8434792d0b62e32ab1416f214a18a640cc03
refs/heads/master: 70a505285f9859f77e07f7c12371b0d29ecf3d82
2 changes: 1 addition & 1 deletion trunk/fs/xfs/support/move.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* as we go.
*/
int
uio_read(caddr_t src, size_t len, struct uio *uio)
xfs_uio_read(caddr_t src, size_t len, struct uio *uio)
{
size_t count;

Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/xfs/support/move.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ struct uio {
typedef struct uio uio_t;
typedef struct iovec iovec_t;

extern int uio_read (caddr_t, size_t, uio_t *);
extern int xfs_uio_read (caddr_t, size_t, uio_t *);

#endif /* __XFS_SUPPORT_MOVE_H__ */
2 changes: 1 addition & 1 deletion trunk/fs/xfs/xfs_dir2.c
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ xfs_dir2_put_dirent64_uio(
idbp->d_off = pa->cook;
idbp->d_name[namelen] = '\0';
memcpy(idbp->d_name, pa->name, namelen);
rval = uio_read((caddr_t)idbp, reclen, uio);
rval = xfs_uio_read((caddr_t)idbp, reclen, uio);
pa->done = (rval == 0);
return rval;
}
Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/xfs/xfs_vnodeops.c
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ xfs_readlink(
pathlen = (int)ip->i_d.di_size;

if (ip->i_df.if_flags & XFS_IFINLINE) {
error = uio_read(ip->i_df.if_u1.if_data, pathlen, uiop);
error = xfs_uio_read(ip->i_df.if_u1.if_data, pathlen, uiop);
}
else {
/*
Expand Down Expand Up @@ -1044,7 +1044,7 @@ xfs_readlink(
byte_cnt = pathlen;
pathlen -= byte_cnt;

error = uio_read(XFS_BUF_PTR(bp), byte_cnt, uiop);
error = xfs_uio_read(XFS_BUF_PTR(bp), byte_cnt, uiop);
xfs_buf_relse (bp);
}

Expand Down

0 comments on commit a34d19e

Please sign in to comment.