~ubuntu-branches/ubuntu/karmic/aufs/karmic

« back to all changes in this revision

Viewing changes to fs/aufs25/cpup.c

  • Committer: Bazaar Package Importer
  • Author(s): Julian Andres Klode
  • Date: 2008-05-15 14:36:42 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080515143642-socrun1a13fn8q24
Tags: 0+20080514-2
* Change aufs-source structure, fixing issues with module path:
  - [fs/aufs25/] Make it top level
  - [fs/aufs/] Move into old/

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
/*
20
20
 * copy-up functions, see wbr_policy.c for copy-down
21
21
 *
22
 
 * $Id: cpup.c,v 1.4 2008/05/04 23:51:40 sfjro Exp $
 
22
 * $Id: cpup.c,v 1.5 2008/05/12 00:29:11 sfjro Exp $
23
23
 */
24
24
 
25
25
#include <linux/fs_stack.h>
38
38
        //IMustLock(!h_inode);
39
39
 
40
40
        fsstack_copy_attr_times(inode, h_inode);
 
41
        //todo: this spin_lock conflicts the new unionfs patch in -mm tree
41
42
        spin_lock(&inode->i_lock);
42
43
        fsstack_copy_inode_size(inode, h_inode);
43
44
        spin_unlock(&inode->i_lock);