Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
b=2264
[fs/lustre-release.git]
/
lustre
/
include
/
linux
/
lvfs_linux.h
diff --git
a/lustre/include/linux/lvfs_linux.h
b/lustre/include/linux/lvfs_linux.h
index
b38d6f0
..
71fc431
100644
(file)
--- a/
lustre/include/linux/lvfs_linux.h
+++ b/
lustre/include/linux/lvfs_linux.h
@@
-1,3
+1,6
@@
+/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
+ * vim:expandtab:shiftwidth=8:tabstop=8:
+ */
#ifndef __LVFS_LINUX_H__
#define __LVFS_LINUX_H__
#ifndef __LVFS_LINUX_H__
#define __LVFS_LINUX_H__
@@
-22,17
+25,14
@@
struct l_file *l_dentry_open(struct obd_run_ctxt *, struct l_dentry *,
int flags);
struct l_linux_dirent {
int flags);
struct l_linux_dirent {
-
ino_t d_ino
;
-
unsigned long d_off
;
- unsigned
short d_reclen
;
- char
d_name[1];
+
struct list_head lld_list
;
+
ino_t lld_ino
;
+ unsigned
long lld_off
;
+ char
lld_name[LL_FID_NAMELEN];
};
};
-
struct l_readdir_callback {
struct l_readdir_callback {
- struct l_linux_dirent *current_dir;
- struct l_linux_dirent *previous;
- int count;
- int error;
+ struct l_linux_dirent *lrc_dirent;
+ struct list_head *lrc_list;
};
#endif
};
#endif