diff options
author | phk <phk@FreeBSD.org> | 2003-07-27 17:04:56 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-07-27 17:04:56 +0000 |
commit | d4d7ca154aba6a0f8370fe818bb79bd7685b9fdc (patch) | |
tree | 9fe71cfe1133914703f5c502a7c60529cda9fff5 /sys/ufs | |
parent | b40be37a17ddb7368dd149f10f7c780fa8cfed66 (diff) | |
download | FreeBSD-src-d4d7ca154aba6a0f8370fe818bb79bd7685b9fdc.zip FreeBSD-src-d4d7ca154aba6a0f8370fe818bb79bd7685b9fdc.tar.gz |
Add fdidx argument to vn_open() and vn_open_cred() and pass -1 throughout.
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ufs/ufs_quota.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_quota.c b/sys/ufs/ufs/ufs_quota.c index 21c0355..11d2e4b 100644 --- a/sys/ufs/ufs/ufs_quota.c +++ b/sys/ufs/ufs/ufs_quota.c @@ -419,7 +419,7 @@ quotaon(td, mp, type, fname) vpp = &ump->um_quotas[type]; NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, fname, td); flags = FREAD | FWRITE; - error = vn_open(&nd, &flags, 0); + error = vn_open(&nd, &flags, 0, -1); if (error) return (error); NDFREE(&nd, NDF_ONLY_PNBUF); |