diff options
author | Evgeniy Dushistov <dushistov@mail.ru> | 2006-06-25 05:47:29 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 10:01:04 -0700 |
commit | 647b7e87b56f594daf648f44abfbeeb5eb6a9457 (patch) | |
tree | 2a81679a2a9f7ee0a0ad984fbae4d43be050fd51 /net/x25/x25_facilities.c | |
parent | f391475812ba39afa322c835217ffe936f5e754a (diff) |
[PATCH] ufs: one way to access super block
Super block of UFS usually has size >512, because of fragment size may be 512,
this cause some problems.
Currently, there are two methods to work with ufs super block:
1) split structure which describes ufs super blocks into structures with
size <=512
2) use one structure which describes ufs super block, and hope that array
of "buffer_head" which holds "super block", has such construction:
bh[n]->b_data + bh[n]->b_size == bh[n + 1]->b_data
The second variant may cause some problems in the future, and usage of two
variants cause unnecessary code duplication.
This patch remove the second variant. Also patch contains some CodingStyle
fixes.
Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/x25/x25_facilities.c')
0 files changed, 0 insertions, 0 deletions