namei.c (9a64e8e0ace51b309fdcff4b4754b3649250382a) namei.c (00cd8dd3bf95f2cc8435b4cac01d9995635c6d0b)
1/*
2 * linux/fs/sysv/namei.c
3 *
4 * minix/namei.c
5 * Copyright (C) 1991, 1992 Linus Torvalds
6 *
7 * coh/namei.c
8 * Copyright (C) 1993 Pascal Haible, Bruno Haible

--- 29 unchanged lines hidden (view full) ---

38 }
39 return 0;
40}
41
42const struct dentry_operations sysv_dentry_operations = {
43 .d_hash = sysv_hash,
44};
45
1/*
2 * linux/fs/sysv/namei.c
3 *
4 * minix/namei.c
5 * Copyright (C) 1991, 1992 Linus Torvalds
6 *
7 * coh/namei.c
8 * Copyright (C) 1993 Pascal Haible, Bruno Haible

--- 29 unchanged lines hidden (view full) ---

38 }
39 return 0;
40}
41
42const struct dentry_operations sysv_dentry_operations = {
43 .d_hash = sysv_hash,
44};
45
46static struct dentry *sysv_lookup(struct inode * dir, struct dentry * dentry, struct nameidata *nd)
46static struct dentry *sysv_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags)
47{
48 struct inode * inode = NULL;
49 ino_t ino;
50
51 if (dentry->d_name.len > SYSV_NAMELEN)
52 return ERR_PTR(-ENAMETOOLONG);
53 ino = sysv_inode_by_name(dentry);
54

--- 237 unchanged lines hidden ---
47{
48 struct inode * inode = NULL;
49 ino_t ino;
50
51 if (dentry->d_name.len > SYSV_NAMELEN)
52 return ERR_PTR(-ENAMETOOLONG);
53 ino = sysv_inode_by_name(dentry);
54

--- 237 unchanged lines hidden ---