Whamcloud - gitweb
Add comments documenting ext2fs_[reserve_]super_and_bgd_loc()
authorTheodore Ts'o <tytso@mit.edu>
Sun, 20 Apr 2008 23:22:49 +0000 (19:22 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 20 Apr 2008 23:22:49 +0000 (19:22 -0400)
commit4a568505ab904d39d9553e9c1d1c565615a5c6ca
tree51a87f715fafea6182f41aa06f6b7dbe9c2ead4e
parent4a2924eaa371da712d610062367b7e9c3478b055
Add comments documenting ext2fs_[reserve_]super_and_bgd_loc()

Add an explanation of exactly what ext2fs_super_and_bgd_loc() and
ext2fs_reserve_super_and_bgd_loc() do, and more importantly, exactly
what they return.  Note that most callers should *not* rely on the
return value since it's rarely useful, especially once the flex_bg
feature is enabled and inode table and allocation bitmap blocks may
not be in the block group.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/alloc_sb.c
lib/ext2fs/closefs.c