Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Feb 2012 07:30:44 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232100 - head/sys/fs/ntfs
Message-ID:  <201202240730.q1O7UiiV047674@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo
Date: Fri Feb 24 07:30:44 2012
New Revision: 232100
URL: http://svn.freebsd.org/changeset/base/232100

Log:
  Remove an unused structure and unnecessary cast

Modified:
  head/sys/fs/ntfs/ntfs.h
  head/sys/fs/ntfs/ntfs_vfsops.c

Modified: head/sys/fs/ntfs/ntfs.h
==============================================================================
--- head/sys/fs/ntfs/ntfs.h	Fri Feb 24 07:29:06 2012	(r232099)
+++ head/sys/fs/ntfs/ntfs.h	Fri Feb 24 07:30:44 2012	(r232100)
@@ -36,7 +36,7 @@ typedef u_int16_t wchar;
 #pragma pack(1)
 #define BBSIZE			1024
 #define	BBOFF			((off_t)(0))
-#define	BBLOCK			((daddr_t)(0))
+#define	BBLOCK			0
 #define	NTFS_MFTINO		0
 #define	NTFS_VOLUMEINO		3
 #define	NTFS_ATTRDEFINO		4

Modified: head/sys/fs/ntfs/ntfs_vfsops.c
==============================================================================
--- head/sys/fs/ntfs/ntfs_vfsops.c	Fri Feb 24 07:29:06 2012	(r232099)
+++ head/sys/fs/ntfs/ntfs_vfsops.c	Fri Feb 24 07:30:44 2012	(r232100)
@@ -67,8 +67,6 @@ MALLOC_DEFINE(M_NTFSNTNODE,"ntfs_ntnode"
 MALLOC_DEFINE(M_NTFSFNODE,"ntfs_fnode",  "NTFS fnode information");
 MALLOC_DEFINE(M_NTFSDIR,"ntfs_dir",  "NTFS dir buffer");
 
-struct sockaddr;
-
 static int	ntfs_mountfs(register struct vnode *, struct mount *, 
 				  struct thread *);
 static int	ntfs_calccfree(struct ntfsmount *ntmp, cn_t *cfreep);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202240730.q1O7UiiV047674>