Skip to contentSkip to conversation

Introduce btrfs_iget helper - updated

PATCH New Balaji Rao 1 participant 1 message Jul 20, 2008 Btrfs file system

lore
Share & tools
lore

Balaji Rao

author
#0 lore raw

PATCH 1/1 Introduce btrfs_iget helper - updated

Hi,

This patch introduces a btrfs_iget helper to be used in NFS support.

This applies to kernel-unstable/tip.

---

ctree.h +2 -0
diff -r 179ee631a0fc ctree.h
@@ -1630,6 +1630,8 @@
 				struct btrfs_root *root);
 struct inode *btrfs_ilookup(struct super_block *s, u64 objectid,
 			    u64 root_objectid);
+struct inode *btrfs_iget(struct super_block *s, struct btrfs_key *location,
+				struct btrfs_root *root, int *is_new);
 int btrfs_commit_write(struct file *file, struct page *page,
 		       unsigned from, unsigned to);
 struct extent_map *btrfs_get_extent(struct inode *inode, struct page *page,
inode.c +36 -16

70 lines not on this page · raw message