Required build 121 updates for linux-have-zpl

This commit is contained in:
Brian Behlendorf 2009-08-18 14:11:06 -07:00
parent 6e43f5a80b
commit 6d772ec7d2
1 changed files with 4 additions and 0 deletions

View File

@ -2841,6 +2841,7 @@ zfs_ioc_recv(zfs_cmd_t *zc)
error = dmu_recv_stream(&drc, fp->f_vnode, &off);
if (error == 0) {
#ifdef HAVE_ZPL
zfsvfs_t *zfsvfs = NULL;
if (getzfsvfs(tofs, &zfsvfs) == 0) {
@ -2867,6 +2868,9 @@ zfs_ioc_recv(zfs_cmd_t *zc)
} else {
error = dmu_recv_end(&drc);
}
#else
error = dmu_recv_end(&drc);
#endif /* HAVE_ZPL */
}
zc->zc_cookie = off - fp->f_offset;