svn commit: r232100 - head/sys/fs/ntfs

Kevin Lo kevlo at FreeBSD.org
Fri Feb 24 07:30:45 UTC 2012


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);


More information about the svn-src-all mailing list