git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
fs
/
exportfs
/
expfs.c
diff --git
a/fs/exportfs/expfs.c
b/fs/exportfs/expfs.c
index
b06b54f
..
93e77c3
100644
(file)
--- a/
fs/exportfs/expfs.c
+++ b/
fs/exportfs/expfs.c
@@
-102,7
+102,7
@@
find_exported_dentry(struct super_block *sb, void *obj, void *parent,
if (acceptable(context, result))
return result;
if (S_ISDIR(result->d_inode->i_mode)) {
if (acceptable(context, result))
return result;
if (S_ISDIR(result->d_inode->i_mode)) {
- /* there is no other dentry, so fail */
+ err = -EACCES;
goto err_result;
}
goto err_result;
}
@@
-315,7
+315,7
@@
struct getdents_callback {
* the name matching the specified inode number.
*/
static int filldir_one(void * __buf, const char * name, int len,
* the name matching the specified inode number.
*/
static int filldir_one(void * __buf, const char * name, int len,
- loff_t pos,
ino_t
ino, unsigned int d_type)
+ loff_t pos,
u64
ino, unsigned int d_type)
{
struct getdents_callback *buf = __buf;
int result = 0;
{
struct getdents_callback *buf = __buf;
int result = 0;