svn commit: r232996 - stable/9/sys/fs/ntfs

Kevin Lo kevlo at FreeBSD.org
Thu Mar 15 02:46:13 UTC 2012


Author: kevlo
Date: Thu Mar 15 02:46:12 2012
New Revision: 232996
URL: http://svn.freebsd.org/changeset/base/232996

Log:
  MFC r232100:
  Remove an unused structure and unnecessary cast

Modified:
  stable/9/sys/fs/ntfs/ntfs.h
  stable/9/sys/fs/ntfs/ntfs_vfsops.c
Directory Properties:
  stable/9/sys/fs/ntfs/   (props changed)

Modified: stable/9/sys/fs/ntfs/ntfs.h
==============================================================================
--- stable/9/sys/fs/ntfs/ntfs.h	Thu Mar 15 02:37:14 2012	(r232995)
+++ stable/9/sys/fs/ntfs/ntfs.h	Thu Mar 15 02:46:12 2012	(r232996)
@@ -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: stable/9/sys/fs/ntfs/ntfs_vfsops.c
==============================================================================
--- stable/9/sys/fs/ntfs/ntfs_vfsops.c	Thu Mar 15 02:37:14 2012	(r232995)
+++ stable/9/sys/fs/ntfs/ntfs_vfsops.c	Thu Mar 15 02:46:12 2012	(r232996)
@@ -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-stable-9 mailing list