Displaying 2 results from an estimated 2 matches for "dbfa6f6".
Did you mean:
2bfa6f3
2007 Sep 19
1
[PATCH 05/15] ocfs2: Pass raw u64 to filldir
...on if some kernel code is calling
ocfs2_dir_foreach_blk() and expecting real inode numbers back...
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
---
fs/ocfs2/dir.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index d1f92fd..dbfa6f6 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
@@ -512,7 +512,7 @@ revalidate:
error = filldir(priv, de->name,
de->name_len,
*f_pos,
- ino_from_blkno(sb, le64_to_cpu(de->inode)),
+ le64_to_cpu(de->inode),
d_type);
if (error)
break;
--
1....
2007 Sep 19
1
[PATCH 06/15] ocfs2: Remove open coded readdir()
...rk Fasheh <mark.fasheh@oracle.com>
---
fs/ocfs2/dir.c | 28 +++++++++++--
fs/ocfs2/dir.h | 7 +--
fs/ocfs2/journal.c | 118 +++++++++++++++++++--------------------------------
3 files changed, 70 insertions(+), 83 deletions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index dbfa6f6..a75c340 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
@@ -81,10 +81,10 @@ static int ocfs2_do_extend_dir(struct super_block *sb,
struct ocfs2_alloc_context *meta_ac,
struct buffer_head **new_bh);
-int ocfs2_check_dir_entry(struct inode * dir,
- struct ocfs2_dir_entry...