freebsd-dev/module
Andrey Vesnovaty 5f15fa2216 Fix readdir for .zfs/snapshot directory
dmu_snapshot_list_next stores the index of the next snapshot entry to the offp
argument, which zpl_snapdir_iterate then uses for the dir_emit. This
result in an off-by-one error. Therefore a temporary variable should be
used.

This was a regression introduced in commit zfsonlinux/zfs@0f37d0c.

Signed-off-by: Andrey Vesnovaty <andrey.vesnovaty@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2930
2015-02-10 16:34:30 -08:00
..
avl Explicitly include SPL compat headers 2014-11-19 12:30:39 -05:00
nvpair Use vmem_alloc() for nvlists 2015-02-10 11:00:08 -08:00
unicode Explicitly include SPL compat headers 2014-11-19 12:30:39 -05:00
zcommon Change KM_PUSHPAGE -> KM_SLEEP 2015-01-16 14:41:26 -08:00
zfs Fix readdir for .zfs/snapshot directory 2015-02-10 16:34:30 -08:00
zpios Explicitly include SPL compat headers 2014-11-19 12:30:39 -05:00
.gitignore gitignore: anchor entries at their respective directory 2013-04-02 10:50:17 -07:00
Makefile.in Fix modules installation directory 2014-10-28 09:46:14 -07:00