
20 Oct
2012
20 Oct
'12
10:39 a.m.
Dear Tom Rini,
On 10/19/12 12:26, Stephen Warren wrote:
[snip]
Yes, I suppose I could:
- Add a bit-mask of legal filesystems as a parameter to
fs_set_blk_dev().
- Move the body of do_fsload() into some common called by
do_fsload(), do_ext2load(), do_fatload(), each passing in the appropriate bit-mask, which gets passed down to fs_set_blk_dev().
That'd be easy, and probably entail only extremely minimal code-size increases for an ext2-only or FAT-only build; just a few bytes for a few more function calls. Sound like a plan?
Sounds good to me. I bet you'll find some other clean-ups while you're in there. Marek, any comments from the DM perspective here?
CCing pavel, block goo is on his slate.
Best regards, Marek Vasut