~ubuntu-branches/ubuntu/vivid/aufs/vivid

« back to all changes in this revision

Viewing changes to fs/aufs25/iinfo.c

  • Committer: Bazaar Package Importer
  • Author(s): Julian Andres Klode
  • Date: 2008-08-21 14:58:54 UTC
  • mfrom: (1.1.8 upstream) (4.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080821145854-4b49x09r4zmvlk5o
Tags: 0+20080719-4
01_vserver_apparmor.dpatch: [UPDATE] Disable vserver patches on kernel 
2.6.26, because they are not needed anymore. (Closes: #495921)

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
/*
20
20
 * inode private data
21
21
 *
22
 
 * $Id: iinfo.c,v 1.4 2008/06/02 02:36:59 sfjro Exp $
 
22
 * $Id: iinfo.c,v 1.5 2008/06/30 03:50:21 sfjro Exp $
23
23
 */
24
24
 
25
25
#include "aufs.h"
203
203
        nbr = au_sbend(sb) + 1;
204
204
        if (unlikely(nbr <= 0))
205
205
                nbr = 1;
206
 
        iinfo->ii_hinode = kcalloc(nbr, sizeof(*iinfo->ii_hinode), GFP_KERNEL);
 
206
        iinfo->ii_hinode = kcalloc(nbr, sizeof(*iinfo->ii_hinode), GFP_NOFS);
207
207
        if (iinfo->ii_hinode) {
208
208
                for (i = 0; i < nbr; i++)
209
209
                        iinfo->ii_hinode[i].hi_id = -1;