Diff for /linux-2.6-xfs/mainline-patches/linux-2.6/xfs_super.c between versions 1.2 and 1.3

version 1.2, 2007/01/16 14:53:53 version 1.3, 2007/01/16 14:56:58
Line 0 Line 1
   Quota initialisation is done via behaviours.
   Need to export xfs_fs_type for dmapi.
   
   --- /tmp/diff_prompt.27668.update_only  2006-12-15 22:21:34.469800413 +1100
   +++ linux-2.6/xfs_super.c       2006-12-15 17:48:29.000000000 +1100
   @@ -234,6 +234,15 @@
           }
    }
    
   +struct inode *
   +xfs_get_inode(
   +       bhv_desc_t      *bdp,
   +       xfs_ino_t       ino,
   +       int             flags)
   +{
   +       return iget_locked(bhvtovfs(bdp)->vfs_super, ino);
   +}
   +
    int
    xfs_blkdev_get(
           xfs_mount_t             *mp,
   @@ -894,13 +903,14 @@
           .set_xquota             = xfs_fs_setxquota,
    };
    
   -STATIC struct file_system_type xfs_fs_type = {
   +struct file_system_type xfs_fs_type = {
           .owner                  = THIS_MODULE,
           .name                   = "xfs",
           .get_sb                 = xfs_fs_get_sb,
           .kill_sb                = kill_block_super,
           .fs_flags               = FS_REQUIRES_DEV,
    };
   +EXPORT_SYMBOL(xfs_fs_type);
    
    
    STATIC int __init
   @@ -929,7 +939,6 @@
           vn_init();
           xfs_init();
           uuid_init();
   -       vfs_initquota();
    
           error = register_filesystem(&xfs_fs_type);
           if (error)
   @@ -949,7 +958,6 @@
    STATIC void __exit
    exit_xfs_fs( void )
    {
   -       vfs_exitquota();
           unregister_filesystem(&xfs_fs_type);
           xfs_cleanup();
           xfs_buf_terminate();

Removed from v.1.2  
changed lines
  Added in v.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>