summaryrefslogtreecommitdiffstats
path: root/drivers/net/atp.h
diff options
context:
space:
mode:
authorYongqiang Yang <xiaoqiangnk@gmail.com>2011-07-27 21:16:33 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-07-27 21:16:33 -0400
commit2f919710143cb2025157c3c193ee22de86f3ed73 (patch)
tree935314cca6ee1a5e29359fafcd1d4d934eeabbe0 /drivers/net/atp.h
parente6075e984d100c12bb79267639c3f661d9788a67 (diff)
downloadlinux-2f919710143cb2025157c3c193ee22de86f3ed73.tar.gz
linux-2f919710143cb2025157c3c193ee22de86f3ed73.tar.bz2
linux-2f919710143cb2025157c3c193ee22de86f3ed73.zip
ext4: simplify parameters of add_new_gdb()
add_new_gdb() only needs the block group number; there is no need to pass a pointer to struct ext4_new_group_data to add_new_gdb(). Instead of filling in a pointer the struct buffer_head in add_new_gdb(), it's simpler to have the caller fetch it from the s_group_desc[] array. [Fixed error path to handle the case where struct buffer_head *primary hasn't been set yet. -- Ted] Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'drivers/net/atp.h')
0 files changed, 0 insertions, 0 deletions