summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-07-27 17:04:56 +0000
committerphk <phk@FreeBSD.org>2003-07-27 17:04:56 +0000
commitd4d7ca154aba6a0f8370fe818bb79bd7685b9fdc (patch)
tree9fe71cfe1133914703f5c502a7c60529cda9fff5 /sys/ufs
parentb40be37a17ddb7368dd149f10f7c780fa8cfed66 (diff)
downloadFreeBSD-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.c2
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);
OpenPOWER on IntegriCloud