namei.c (18bb1db3e7607e4a997d50991a6f9fa5b0f8722c) namei.c (4acdaf27ebe2034c342f3be57ef49aed1ad885ef)
1/*
2 * namei.c - NILFS pathname lookup operations.
3 *
4 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

--- 70 unchanged lines hidden (view full) ---

79/*
80 * By the time this is called, we already have created
81 * the directory cache entry for the new file, but it
82 * is so far negative - it has no inode.
83 *
84 * If the create succeeds, we fill in the inode information
85 * with d_instantiate().
86 */
1/*
2 * namei.c - NILFS pathname lookup operations.
3 *
4 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

--- 70 unchanged lines hidden (view full) ---

79/*
80 * By the time this is called, we already have created
81 * the directory cache entry for the new file, but it
82 * is so far negative - it has no inode.
83 *
84 * If the create succeeds, we fill in the inode information
85 * with d_instantiate().
86 */
87static int nilfs_create(struct inode *dir, struct dentry *dentry, int mode,
87static int nilfs_create(struct inode *dir, struct dentry *dentry, umode_t mode,
88 struct nameidata *nd)
89{
90 struct inode *inode;
91 struct nilfs_transaction_info ti;
92 int err;
93
94 err = nilfs_transaction_begin(dir->i_sb, &ti, 1);
95 if (err)

--- 494 unchanged lines hidden ---
88 struct nameidata *nd)
89{
90 struct inode *inode;
91 struct nilfs_transaction_info ti;
92 int err;
93
94 err = nilfs_transaction_begin(dir->i_sb, &ti, 1);
95 if (err)

--- 494 unchanged lines hidden ---