Oops, correct important typo in last commit.
This commit is contained in:
parent
2c965e1956
commit
b9f28e4a35
@ -1929,7 +1929,7 @@ zfs_readdir(vnode_t *vp, uio_t *uio, cred_t *cr, int *eofp, int *ncookies, u_lon
|
||||
|
||||
uio->uio_loffset = offset;
|
||||
ZFS_EXIT(zfsvfs);
|
||||
if (error != 0 && *cookies != NULL) {
|
||||
if (error != 0 && cookies != NULL) {
|
||||
free(*cookies, M_TEMP);
|
||||
*cookies = NULL;
|
||||
*ncookies = 0;
|
||||
|
@ -1929,7 +1929,7 @@ zfs_readdir(vnode_t *vp, uio_t *uio, cred_t *cr, int *eofp, int *ncookies, u_lon
|
||||
|
||||
uio->uio_loffset = offset;
|
||||
ZFS_EXIT(zfsvfs);
|
||||
if (error != 0 && *cookies != NULL) {
|
||||
if (error != 0 && cookies != NULL) {
|
||||
free(*cookies, M_TEMP);
|
||||
*cookies = NULL;
|
||||
*ncookies = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user