diff options
author | Brice Goglin <[email protected]> | 2008-01-07 22:09:08 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2008-01-08 23:30:18 -0800 |
commit | 877364e60edeea06efa8ceb9d29201f195af8a47 (patch) | |
tree | 9faedc7c3735ec04b0434b769e50fecc01dc5e6c /fs/jbd2/commit.c | |
parent | 02f1c89d6e36507476f78108a3dcc78538be460b (diff) |
[LRO] Fix lro_mgr->features checks
lro_mgr->features contains a bitmask of LRO_F_* values which are
defined as power of two, not as bit indexes.
They must be checked with x&LRO_F_FOO, not with test_bit(LRO_F_FOO,&x).
Signed-off-by: Brice Goglin <[email protected]>
Acked-by: Andrew Gallatin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions