~ubuntu-branches/ubuntu/trusty/iscsitarget/trusty

« back to all changes in this revision

Viewing changes to kernel/tio.c

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2008-05-17 11:33:55 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080517113355-gzmh2h3dleqe1qno
Tags: 0.4.15+svn148-2.1ubuntu1
* Merge from debian unstable, remaining changes:
  - Update kernel modules to build for several architectures.
  - Fixed init script.

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
 
111
111
int tio_init(void)
112
112
{
113
 
        tio_cache = kmem_cache_create("tio", sizeof(struct tio),
114
 
                                      0, 0, NULL);
 
113
        tio_cache = KMEM_CACHE(tio, 0);
115
114
        return  tio_cache ? 0 : -ENOMEM;
116
115
}
117
116