diff options
author | Balaji Rao <balajirrao@gmail.com> | 2008-07-20 16:31:04 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:06 -0400 |
commit | 1a54ef8c11a0eaef59ff418089f109c27f8bd48d (patch) | |
tree | b9ac7b35bcbf2df83448820b249a72c89485399d /fs/btrfs/ctree.h | |
parent | b64a2851ba25b3410a87d3d1b751155612105c8e (diff) |
Introduce btrfs_iget helper
Date: Mon, 21 Jul 2008 02:01:04 +0530
This patch introduces a btrfs_iget helper to be used in NFS support.
Signed-off-by: Balaji Rao <balajirrao@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 040213359393..cecf29e03630 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -1700,6 +1700,8 @@ struct inode *btrfs_iget_locked(struct super_block *s, u64 objectid, | |||
1700 | struct btrfs_root *root); | 1700 | struct btrfs_root *root); |
1701 | struct inode *btrfs_ilookup(struct super_block *s, u64 objectid, | 1701 | struct inode *btrfs_ilookup(struct super_block *s, u64 objectid, |
1702 | u64 root_objectid); | 1702 | u64 root_objectid); |
1703 | struct inode *btrfs_iget(struct super_block *s, struct btrfs_key *location, | ||
1704 | struct btrfs_root *root, int *is_new); | ||
1703 | int btrfs_commit_write(struct file *file, struct page *page, | 1705 | int btrfs_commit_write(struct file *file, struct page *page, |
1704 | unsigned from, unsigned to); | 1706 | unsigned from, unsigned to); |
1705 | struct extent_map *btrfs_get_extent(struct inode *inode, struct page *page, | 1707 | struct extent_map *btrfs_get_extent(struct inode *inode, struct page *page, |