--- zzzz-none-000/linux-2.6.19.2/fs/xfs/xfs_dir2.c 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5504/linux-2.6.19.2/fs/xfs/xfs_dir2.c 2007-01-11 07:38:19.000000000 +0000 @@ -678,7 +678,7 @@ idbp->d_off = pa->cook; idbp->d_name[namelen] = '\0'; memcpy(idbp->d_name, pa->name, namelen); - rval = xfs_uio_read((caddr_t)idbp, reclen, uio); + rval = uio_read((caddr_t)idbp, reclen, uio); pa->done = (rval == 0); return rval; }