Introduce btrfs_iget helper - updated
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.
---
Signed-off-by Balaji Rao <[email protected]>
ctree.h +2 -0
@@ -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