diff options
author | kib <kib@FreeBSD.org> | 2008-08-24 19:06:19 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2008-08-24 19:06:19 +0000 |
commit | 5890c8d4b72728d4a9cbbee6ac4043ec602d455d (patch) | |
tree | 10be7d1ce3d5f07e66ac86823da68f051a44eabb /sys/ufs | |
parent | d5dab91a99faeb35db8d15f41f3dc31a1ecbb131 (diff) | |
download | FreeBSD-src-5890c8d4b72728d4a9cbbee6ac4043ec602d455d.zip FreeBSD-src-5890c8d4b72728d4a9cbbee6ac4043ec602d455d.tar.gz |
Put the relocked variable from the r182111 into the #ifdef QUOTA braces
to prevent warning about unused var on the !QUOTA kernels.
Reported by: ed
MFC after: 1 week
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ufs/ufs_vnops.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c index 850cb04..3c27dbd 100644 --- a/sys/ufs/ufs/ufs_vnops.c +++ b/sys/ufs/ufs/ufs_vnops.c @@ -309,7 +309,10 @@ ufs_access(ap) struct vnode *vp = ap->a_vp; struct inode *ip = VTOI(vp); mode_t mode = ap->a_mode; - int error, relocked; + int error; +#ifdef QUOTA + int relocked; +#endif #ifdef UFS_ACL struct acl *acl; #endif |