namei.c (18bb1db3e7607e4a997d50991a6f9fa5b0f8722c) | namei.c (4acdaf27ebe2034c342f3be57ef49aed1ad885ef) |
---|---|
1/* 2 * linux/fs/ufs/namei.c 3 * 4 * Migration to usage of "page cache" on May 2006 by 5 * Evgeniy Dushistov <dushistov@mail.ru> based on ext2 code base. 6 * 7 * Copyright (C) 1998 8 * Daniel Pirkl <daniel.pirkl@email.cz> --- 56 unchanged lines hidden (view full) --- 65/* 66 * By the time this is called, we already have created 67 * the directory cache entry for the new file, but it 68 * is so far negative - it has no inode. 69 * 70 * If the create succeeds, we fill in the inode information 71 * with d_instantiate(). 72 */ | 1/* 2 * linux/fs/ufs/namei.c 3 * 4 * Migration to usage of "page cache" on May 2006 by 5 * Evgeniy Dushistov <dushistov@mail.ru> based on ext2 code base. 6 * 7 * Copyright (C) 1998 8 * Daniel Pirkl <daniel.pirkl@email.cz> --- 56 unchanged lines hidden (view full) --- 65/* 66 * By the time this is called, we already have created 67 * the directory cache entry for the new file, but it 68 * is so far negative - it has no inode. 69 * 70 * If the create succeeds, we fill in the inode information 71 * with d_instantiate(). 72 */ |
73static int ufs_create (struct inode * dir, struct dentry * dentry, int mode, | 73static int ufs_create (struct inode * dir, struct dentry * dentry, umode_t mode, |
74 struct nameidata *nd) 75{ 76 struct inode *inode; 77 int err; 78 79 UFSD("BEGIN\n"); 80 81 inode = ufs_new_inode(dir, mode); --- 277 unchanged lines hidden --- | 74 struct nameidata *nd) 75{ 76 struct inode *inode; 77 int err; 78 79 UFSD("BEGIN\n"); 80 81 inode = ufs_new_inode(dir, mode); --- 277 unchanged lines hidden --- |