FreeBSD: remove unused variable
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Issue #12899
This commit is contained in:
parent
9e68b734b3
commit
a4f582f0b6
|
@ -934,11 +934,9 @@ zfs_zget(zfsvfs_t *zfsvfs, uint64_t obj_num, znode_t **zpp)
|
||||||
znode_t *zp;
|
znode_t *zp;
|
||||||
vnode_t *vp;
|
vnode_t *vp;
|
||||||
sa_handle_t *hdl;
|
sa_handle_t *hdl;
|
||||||
struct thread *td;
|
|
||||||
int locked;
|
int locked;
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
td = curthread;
|
|
||||||
getnewvnode_reserve_();
|
getnewvnode_reserve_();
|
||||||
again:
|
again:
|
||||||
*zpp = NULL;
|
*zpp = NULL;
|
||||||
|
@ -964,7 +962,7 @@ again:
|
||||||
|
|
||||||
hdl = dmu_buf_get_user(db);
|
hdl = dmu_buf_get_user(db);
|
||||||
if (hdl != NULL) {
|
if (hdl != NULL) {
|
||||||
zp = sa_get_userdata(hdl);
|
zp = sa_get_userdata(hdl);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Since "SA" does immediate eviction we
|
* Since "SA" does immediate eviction we
|
||||||
|
|
Loading…
Reference in New Issue