dir.c (94bd217e2d683719ab21a4ac117d8a1b91cbedc9) dir.c (00cd8dd3bf95f2cc8435b4cac01d9995635c6d0b)
1/*
2 * linux/fs/adfs/dir.c
3 *
4 * Copyright (C) 1999-2000 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

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

261}
262
263const struct dentry_operations adfs_dentry_operations = {
264 .d_hash = adfs_hash,
265 .d_compare = adfs_compare,
266};
267
268static struct dentry *
1/*
2 * linux/fs/adfs/dir.c
3 *
4 * Copyright (C) 1999-2000 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

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

261}
262
263const struct dentry_operations adfs_dentry_operations = {
264 .d_hash = adfs_hash,
265 .d_compare = adfs_compare,
266};
267
268static struct dentry *
269adfs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd)
269adfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
270{
271 struct inode *inode = NULL;
272 struct object_info obj;
273 int error;
274
275 error = adfs_dir_lookup_byname(dir, &dentry->d_name, &obj);
276 if (error == 0) {
277 error = -EACCES;

--- 19 unchanged lines hidden ---
270{
271 struct inode *inode = NULL;
272 struct object_info obj;
273 int error;
274
275 error = adfs_dir_lookup_byname(dir, &dentry->d_name, &obj);
276 if (error == 0) {
277 error = -EACCES;

--- 19 unchanged lines hidden ---