namei.c (18bb1db3e7607e4a997d50991a6f9fa5b0f8722c) | namei.c (4acdaf27ebe2034c342f3be57ef49aed1ad885ef) |
---|---|
1/* 2 * Copyright (C) International Business Machines Corp., 2000-2004 3 * Portions Copyright (C) Christoph Hellwig, 2001-2002 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 58 unchanged lines hidden (view full) --- 67 * PARAMETER: dip - parent directory vnode 68 * dentry - dentry of new file 69 * mode - create mode (rwxrwxrwx). 70 * nd- nd struct 71 * 72 * RETURN: Errors from subroutines 73 * 74 */ | 1/* 2 * Copyright (C) International Business Machines Corp., 2000-2004 3 * Portions Copyright (C) Christoph Hellwig, 2001-2002 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 58 unchanged lines hidden (view full) --- 67 * PARAMETER: dip - parent directory vnode 68 * dentry - dentry of new file 69 * mode - create mode (rwxrwxrwx). 70 * nd- nd struct 71 * 72 * RETURN: Errors from subroutines 73 * 74 */ |
75static int jfs_create(struct inode *dip, struct dentry *dentry, int mode, | 75static int jfs_create(struct inode *dip, struct dentry *dentry, umode_t mode, |
76 struct nameidata *nd) 77{ 78 int rc = 0; 79 tid_t tid; /* transaction id */ 80 struct inode *ip = NULL; /* child directory inode */ 81 ino_t ino; 82 struct component_name dname; /* child directory name */ 83 struct btstack btstack; --- 1540 unchanged lines hidden --- | 76 struct nameidata *nd) 77{ 78 int rc = 0; 79 tid_t tid; /* transaction id */ 80 struct inode *ip = NULL; /* child directory inode */ 81 ino_t ino; 82 struct component_name dname; /* child directory name */ 83 struct btstack btstack; --- 1540 unchanged lines hidden --- |