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

« back to all changes in this revision

Viewing changes to fs/aufs/hinotify.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) 2006-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
 * inotify handler
21
21
 *
22
 
 * $Id: hinotify.c,v 1.48 2008/04/28 03:02:50 sfjro Exp $
 
22
 * $Id: hinotify.c,v 1.50 2008/07/07 01:12:38 sfjro Exp $
23
23
 */
24
24
 
25
25
#include "aufs.h"
503
503
 
504
504
        LKTRTrace("%.*s\n", AuDLNPair(dentry));
505
505
 
506
 
        err = au_dpages_init(&dpages, GFP_TEMPORARY);
 
506
        err = au_dpages_init(&dpages, GFP_NOFS);
507
507
        if (unlikely(err))
508
508
                goto out;
509
509
        err = au_dcsub_pages(&dpages, dentry, NULL, NULL);
1019
1019
         * iprune_mutex. strange.
1020
1020
         */
1021
1021
        lockdep_off();
1022
 
        args = kmalloc(sizeof(*args) + len + 1, GFP_TEMPORARY);
 
1022
        args = kmalloc(sizeof(*args) + len + 1, GFP_NOFS);
1023
1023
        lockdep_on();
1024
1024
        if (unlikely(!args)) {
1025
1025
                AuErr1("no memory\n");