diff options
author | Evgeniy Dushistov | 2006-06-25 14:47:29 +0200 |
---|---|---|
committer | Linus Torvalds | 2006-06-25 19:01:04 +0200 |
commit | 647b7e87b56f594daf648f44abfbeeb5eb6a9457 (patch) | |
tree | 2a81679a2a9f7ee0a0ad984fbae4d43be050fd51 /drivers/pnp | |
parent | [PATCH] ufs: missed brelse and wrong baseblk (diff) | |
download | kernel-qcow2-linux-647b7e87b56f594daf648f44abfbeeb5eb6a9457.tar.gz kernel-qcow2-linux-647b7e87b56f594daf648f44abfbeeb5eb6a9457.tar.xz kernel-qcow2-linux-647b7e87b56f594daf648f44abfbeeb5eb6a9457.zip |
[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 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions