namei.c (9a64e8e0ace51b309fdcff4b4754b3649250382a) | namei.c (00cd8dd3bf95f2cc8435b4cac01d9995635c6d0b) |
---|---|
1/* 2 * QNX6 file system, Linux implementation. 3 * 4 * Version : 1.0.0 5 * 6 * History : 7 * 8 * 01-02-2012 by Kai Bankett (chaosman@ontika.net) : first release. 9 * 16-02-2012 pagemap extension by Al Viro 10 * 11 */ 12 13#include "qnx6.h" 14 15struct dentry *qnx6_lookup(struct inode *dir, struct dentry *dentry, | 1/* 2 * QNX6 file system, Linux implementation. 3 * 4 * Version : 1.0.0 5 * 6 * History : 7 * 8 * 01-02-2012 by Kai Bankett (chaosman@ontika.net) : first release. 9 * 16-02-2012 pagemap extension by Al Viro 10 * 11 */ 12 13#include "qnx6.h" 14 15struct dentry *qnx6_lookup(struct inode *dir, struct dentry *dentry, |
16 struct nameidata *nd) | 16 unsigned int flags) |
17{ 18 unsigned ino; 19 struct page *page; 20 struct inode *foundinode = NULL; 21 const char *name = dentry->d_name.name; 22 int len = dentry->d_name.len; 23 24 if (len > QNX6_LONG_NAME_MAX) --- 18 unchanged lines hidden --- | 17{ 18 unsigned ino; 19 struct page *page; 20 struct inode *foundinode = NULL; 21 const char *name = dentry->d_name.name; 22 int len = dentry->d_name.len; 23 24 if (len > QNX6_LONG_NAME_MAX) --- 18 unchanged lines hidden --- |