namei.c (2d8ad8719591fa803b0d589ed057fa46f49b7155) | namei.c (00cd8dd3bf95f2cc8435b4cac01d9995635c6d0b) |
---|---|
1/* 2 * namei.c - NTFS kernel directory inode operations. Part of the Linux-NTFS 3 * project. 4 * 5 * Copyright (c) 2001-2006 Anton Altaparmakov 6 * 7 * This program/include file is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License as published --- 87 unchanged lines hidden (view full) --- 96 * of the inode. We use the mft reference to read the inode and to find the 97 * file name in the WIN32 namespace corresponding to the matched short file 98 * name. We then convert the name to the current NLS code page, and proceed 99 * searching for a dentry with this name, etc, as in case 2), above. 100 * 101 * Locking: Caller must hold i_mutex on the directory. 102 */ 103static struct dentry *ntfs_lookup(struct inode *dir_ino, struct dentry *dent, | 1/* 2 * namei.c - NTFS kernel directory inode operations. Part of the Linux-NTFS 3 * project. 4 * 5 * Copyright (c) 2001-2006 Anton Altaparmakov 6 * 7 * This program/include file is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License as published --- 87 unchanged lines hidden (view full) --- 96 * of the inode. We use the mft reference to read the inode and to find the 97 * file name in the WIN32 namespace corresponding to the matched short file 98 * name. We then convert the name to the current NLS code page, and proceed 99 * searching for a dentry with this name, etc, as in case 2), above. 100 * 101 * Locking: Caller must hold i_mutex on the directory. 102 */ 103static struct dentry *ntfs_lookup(struct inode *dir_ino, struct dentry *dent, |
104 struct nameidata *nd) | 104 unsigned int flags) |
105{ 106 ntfs_volume *vol = NTFS_SB(dir_ino->i_sb); 107 struct inode *dent_inode; 108 ntfschar *uname; 109 ntfs_name *name = NULL; 110 MFT_REF mref; 111 unsigned long dent_ino; 112 int uname_len; --- 293 unchanged lines hidden --- | 105{ 106 ntfs_volume *vol = NTFS_SB(dir_ino->i_sb); 107 struct inode *dent_inode; 108 ntfschar *uname; 109 ntfs_name *name = NULL; 110 MFT_REF mref; 111 unsigned long dent_ino; 112 int uname_len; --- 293 unchanged lines hidden --- |