1/*- 2 * Copyright (c) 2005 Takanori Watanabe 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/geom/label/g_label_ntfs.c 199875 2009-11-28 11:57:43Z trasz $"); |
29 30#include <sys/param.h> 31#include <sys/systm.h> 32#include <sys/kernel.h> 33#include <sys/malloc.h> 34 35#include <fs/ntfs/ntfs.h> 36 --- 72 unchanged lines hidden (view full) --- 109 } 110done: 111 if (bf != NULL) 112 g_free(bf); 113 if (filerecp != NULL) 114 g_free(filerecp); 115} 116 |
117struct g_label_desc g_label_ntfs = { |
118 .ld_taste = g_label_ntfs_taste, |
119 .ld_dir = G_LABEL_NTFS_DIR, 120 .ld_enabled = 1 |
121}; |
122 123G_LABEL_INIT(ntfs, g_label_ntfs, "Create device nodes for NTFS volumes"); |