kernel: Move GPL'd kernel files to sys/gnu to have them all in one place.
[dragonfly.git] / sys / gnu / vfs / ext2fs / ext2_inode_cnv.c
similarity index 94%
rename from sys/vfs/gnu/ext2fs/ext2_inode_cnv.c
rename to sys/gnu/vfs/ext2fs/ext2_inode_cnv.c
index edcc4ee..fc9b517 100644 (file)
@@ -20,7 +20,6 @@
  *
  *      Utah $Hdr$
  * $FreeBSD: src/sys/gnu/ext2fs/ext2_inode_cnv.c,v 1.11 2000/01/01 17:39:21 bde Exp $
- * $DragonFly: src/sys/vfs/gnu/ext2fs/ext2_inode_cnv.c,v 1.7 2006/12/23 00:41:29 swildner Exp $
  */
 
 /*
@@ -53,9 +52,9 @@ ext2_print_dinode(struct ext2_dinode *di)
                (unsigned long)di->di_size);
        kprintf( "Links: %3d Blockcount: %d\n",
                di->di_nlink, di->di_blocks);
-       kprintf( "ctime: 0x%x", di->di_ctime); 
-       kprintf( "atime: 0x%x", di->di_atime); 
-       kprintf( "mtime: 0x%x", di->di_mtime); 
+       kprintf( "ctime: 0x%x", di->di_ctime);
+       kprintf( "atime: 0x%x", di->di_atime);
+       kprintf( "mtime: 0x%x", di->di_mtime);
        kprintf( "BLOCKS: ");
        for(i=0; i < (di->di_blocks <= 24 ? ((di->di_blocks+1)/2): 12); i++)
                kprintf("%d ", di->di_db[i]);
@@ -112,7 +111,7 @@ ext2_di2ei(struct ext2_dinode *di, struct ext2_inode *ei)
 
         ei->i_mode              = di->di_mode;
         ei->i_links_count       = di->di_nlink;
-       /* 
+       /*
           Godmar thinks: if dtime is nonzero, ext2 says this inode
           has been deleted, this would correspond to a zero link count
         */
@@ -124,7 +123,7 @@ ext2_di2ei(struct ext2_dinode *di, struct ext2_inode *ei)
         ei->i_flags             = di->di_flags;
         ei->i_flags                    = 0;
         ei->i_flags                    |= (di->di_flags & APPEND) ? EXT2_APPEND_FL: 0;
-        ei->i_flags                    |= (di->di_flags & IMMUTABLE) 
+        ei->i_flags                    |= (di->di_flags & IMMUTABLE)
                                                        ? EXT2_IMMUTABLE_FL: 0;
         ei->i_blocks            = di->di_blocks;
         ei->i_generation        = di->di_gen;