diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-10-12 06:00:39 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-12 23:54:05 -0700 |
commit | 8728327e7a7a7f21f3a7109e65503f4cc3305e78 (patch) | |
tree | b06e9fa0da9176043652be8096c6d672b53a971b /fs/reiserfs/namei.c | |
parent | 8a102fe001cc016dabcc392247a2b008e37ffe6a (diff) |
gianfar: Factor out gfar_init_bds() from gfar_alloc_skb_resources()
After hibernation we want to just reinitialize BDs, no need to allocate
anything. So, factor out BDs initialization code from
gfar_alloc_skb_resourses().
Also, teach gfar_init_bds() to reuse already allocated RX SKBs, i.e.
just call gfar_init_rxbdp() if a SKB was already allocated and mapped.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/reiserfs/namei.c')
0 files changed, 0 insertions, 0 deletions