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

« back to all changes in this revision

Viewing changes to fs/aufs25/sysfs.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:
1
1
/*
2
 
 * Copyright (C) 2007-2008 Junjiro Okajima
 
2
 * Copyright (C) 2005-2008 Junjiro Okajima
3
3
 *
4
4
 * This program, aufs is free software; you can redistribute it and/or modify
5
5
 * it under the terms of the GNU General Public License as published by
19
19
/*
20
20
 * sysfs interface
21
21
 *
22
 
 * $Id: sysfs.c,v 1.6 2008/06/02 02:40:29 sfjro Exp $
 
22
 * $Id: sysfs.c,v 1.9 2008/07/07 01:12:39 sfjro Exp $
23
23
 */
24
24
 
25
25
#include <linux/fs.h>
269
269
                AuDebugOn(sbinfo->si_xib);
270
270
                bend = au_sbend(sb);
271
271
                for (bindex = 0; bindex <= bend; bindex++)
272
 
                        AuDebugOn(au_sbr(sb, bindex)->br_xino);
 
272
                        AuDebugOn(au_sbr(sb, bindex)->br_xino.xi_file);
273
273
#endif
274
274
                err = 0;
275
275
                goto out; /* success */
293
293
 
294
294
        bend = au_sbend(sb);
295
295
        for (bindex = 0; !err && bindex <= bend; bindex++) {
296
 
                xf = au_sbr(sb, bindex)->br_xino;
 
296
                xf = au_sbr(sb, bindex)->br_xino.xi_file;
297
297
                if (!xf)
298
298
                        continue;
299
299
                seq_printf(seq, "%d: ", bindex);
359
359
{
360
360
        struct seq_file *seq;
361
361
 
362
 
        seq = kzalloc(sizeof(*seq), GFP_TEMPORARY);
 
362
        seq = kzalloc(sizeof(*seq), GFP_NOFS);
363
363
        if (seq) {
364
364
                /* todo: necessary? */
365
365
                /* mutex_init(&seq.lock); */