]> git.neil.brown.name Git - history.git/commitdiff
JFS: ifdef out unused functions related to partial blocks
authorChristoph Hellwig <hch@sb.bsdonline.org>
Mon, 2 Sep 2002 12:55:43 +0000 (14:55 +0200)
committerDave Kleikamp <shaggy@kleikamp.austin.ibm.com>
Mon, 2 Sep 2002 12:55:43 +0000 (14:55 +0200)
fs/jfs/jfs_extent.c

index 01554198f5c73490238fccc5cf644d26f5c23b69..bbf6d5b8346152bbccbd78f827e7f09efec9e948 100644 (file)
@@ -26,8 +26,9 @@
  * forward references
  */
 static int extBalloc(struct inode *, s64, s64 *, s64 *);
+#ifdef _NOTYET
 static int extBrealloc(struct inode *, s64, s64, s64 *, s64 *);
-int extRecord(struct inode *, xad_t *);
+#endif
 static s64 extRoundDown(s64 nb);
 
 /*
@@ -191,6 +192,7 @@ extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, boolean_t abnr)
 }
 
 
+#ifdef _NOTYET
 /*
  * NAME:        extRealloc()
  *
@@ -408,6 +410,7 @@ int extHint(struct inode *ip, s64 offset, xad_t * xp)
 
        return (0);
 }
+#endif                 /* _NOTYET */
 
 
 /*
@@ -440,6 +443,7 @@ int extRecord(struct inode *ip, xad_t * xp)
 }
 
 
+#ifdef _NOTYET
 /*
  * NAME:        extFill()
  *
@@ -473,6 +477,7 @@ int extFill(struct inode *ip, xad_t * xp)
 
        return (0);
 }
+#endif                 /* _NOTYET */
 
 
 /*
@@ -548,6 +553,7 @@ extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno)
 }
 
 
+#ifdef _NOTYET
 /*
  * NAME:       extBrealloc()
  *
@@ -601,6 +607,7 @@ extBrealloc(struct inode *ip,
         */
        return (extBalloc(ip, blkno, newnblks, newblkno));
 }
+#endif                 /* _NOTYET */
 
 
 /*