Displaying 4 results from an estimated 4 matches for "parent_ino".
2012 May 22
1
warnings met in introduce extent buffer cache for each i-node patch
...-git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 892b347..e0210c9 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -4608,7 +4613,7 @@ fail_dir_item:
int err;
err = btrfs_del_inode_ref(trans, root, name, name_len,
- ino, parent_ino, &local_index);
+ inode, parent_ino, &local_index);
}
return ret;
}
Thanks.
Tim
May 22 09:23:57 bigbox kernel: [56455.532138] ------------[ cut here ]------------
May 22 09:23:57 bigbox kernel: [56455.532146] NG: at fs/btrfs/extent...
2011 Aug 17
2
[PATCH] btrfs: fix d_off in the first dirent
...rfs_ino(inode), DT_DIR);
+ over = filldir(dirent, ".", 1,
+ filp->f_pos, inode->i_ino, DT_DIR);
if (over)
return 0;
filp->f_pos = 1;
@@ -4134,7 +4135,7 @@ static int btrfs_real_readdir(struct file *filp, void *dirent,
if (filp->f_pos == 1) {
u64 pino = parent_ino(filp->f_path.dentry);
over = filldir(dirent, "..", 2,
- 2, pino, DT_DIR);
+ filp->f_pos, pino, DT_DIR);
if (over)
return 0;
filp->f_pos = 2;
--
1.7.6
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body...
2008 Jul 20
26
[PATCH] NFS support for btrfs - v2
Hi,
Here''s an implementation of NFS support for btrfs. It does not work in one
particular case as described in
http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg00298.html.
This uses the btrfs_iget helper introduced previously.
Comments ?
---
Signed-off-by: Balaji Rao <balajirrao@gmail.com>
diff -r 3f0eee804974 Makefile
--- a/Makefile Thu Jun 26 10:34:20 2008 -0400
2012 Jun 21
0
[RFC PATCH V2] Btrfs: introduce extent buffer cache for each i-node
...e);
- ret = btrfs_search_slot(NULL, root, &key, path, 0, 0);
+ ret = btrfs_search_slot_for_inode(NULL, root, inode, &key, path, 0, 0);
if (ret < 0)
goto err;
@@ -4834,7 +4837,7 @@ fail_dir_item:
int err;
err = btrfs_del_inode_ref(trans, root, name, name_len,
- ino, parent_ino, &local_index);
+ inode, parent_ino, &local_index);
}
return ret;
}
@@ -5247,7 +5250,7 @@ again:
}
ret = btrfs_lookup_file_extent(trans, root, path,
- objectid, start, trans != NULL);
+ inode, start, trans != NULL);
if (ret < 0) {
err = ret;
g...