Commit 07e23d68 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher Committed by Bob Peterson

gfs2: Update find_metapath comment

Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
parent 9a38662b
...@@ -176,8 +176,8 @@ int gfs2_unstuff_dinode(struct gfs2_inode *ip, struct page *page) ...@@ -176,8 +176,8 @@ int gfs2_unstuff_dinode(struct gfs2_inode *ip, struct page *page)
/** /**
* find_metapath - Find path through the metadata tree * find_metapath - Find path through the metadata tree
* @sdp: The superblock * @sdp: The superblock
* @mp: The metapath to return the result in
* @block: The disk block to look up * @block: The disk block to look up
* @mp: The metapath to return the result in
* @height: The pre-calculated height of the metadata tree * @height: The pre-calculated height of the metadata tree
* *
* This routine returns a struct metapath structure that defines a path * This routine returns a struct metapath structure that defines a path
...@@ -188,8 +188,7 @@ int gfs2_unstuff_dinode(struct gfs2_inode *ip, struct page *page) ...@@ -188,8 +188,7 @@ int gfs2_unstuff_dinode(struct gfs2_inode *ip, struct page *page)
* filesystem with a blocksize of 4096. * filesystem with a blocksize of 4096.
* *
* find_metapath() would return a struct metapath structure set to: * find_metapath() would return a struct metapath structure set to:
* mp_offset = 101342453, mp_height = 3, mp_list[0] = 0, mp_list[1] = 48, * mp_fheight = 3, mp_list[0] = 0, mp_list[1] = 48, and mp_list[2] = 165.
* and mp_list[2] = 165.
* *
* That means that in order to get to the block containing the byte at * That means that in order to get to the block containing the byte at
* offset 101342453, we would load the indirect block pointed to by pointer * offset 101342453, we would load the indirect block pointed to by pointer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment