Changes by: yura
Update of /cvs/linux-ntfs/ntfsprogs/include/ntfs
In directory delta357:/tmp/cvs-serv32323/include/ntfs
Modified Files:
dir.h
Log Message:
Turn ntfs_pathname_to_inode() into ntfs_pathname_to_inode_num() which
returns ntfs inode number instead of opened inode itself.
Reimplement ntfs_pathname_to_inode() as wrapper to new API.
Index: dir.h
===================================================================
RCS file: /cvs/linux-ntfs/ntfsprogs/include/ntfs/dir.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- dir.h 17 Jul 2006 11:49:52 -0000 1.19
+++ dir.h 6 Dec 2006 18:50:13 -0000 1.20
@@ -65,6 +65,8 @@ extern ntfschar NTFS_INDEX_R[3];
extern u64 ntfs_inode_lookup_by_name(ntfs_inode *dir_ni,
const ntfschar *uname, const int uname_len);
+extern u64 ntfs_pathname_to_inode_num(ntfs_volume *vol, ntfs_inode *parent,
+ const char *pathname);
extern ntfs_inode *ntfs_pathname_to_inode(ntfs_volume *vol, ntfs_inode *parent,
const char *pathname);
|