Permalink
Browse files

spa_refcount issue fixed for snapshot automounting code

  • Loading branch information...
1 parent df3f362 commit f526f768ef5dea148970d6fc54472992bcf4f33d root committed Oct 21, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 module/lzfs_super.c
View
@@ -330,8 +330,10 @@ lzfs_get_sb(struct file_system_type *fs_type,
else
vfsp->vfs_flag |= VFS_ATIME;
+ if(!vfsp->is_snap) {
if ((rc = zfs_register_callbacks(vfsp)))
lzfs_zfsctl_destroy(vfsp->vfs_super->s_fs_info);
+ }
EXIT;
return rc;

0 comments on commit f526f76

Please sign in to comment.