Re: [PATCH vfs 2/2] {block|char}_dev: remove inode->i_devices

From: Tejun Heo
Date: Thu Nov 20 2014 - 08:40:03 EST


On Thu, Nov 20, 2014 at 08:11:18AM -0500, Tejun Heo wrote:
...
> creating another one-off behavior. If we demote this to something
> which is shared only between block and char devs, we can go simpler
> and less versatile. Where should it go tho?

So, one option is implementing something minimal in fs/devptrs.h or
somesuch and include it from block/char_dev.c. If it isn't exposed as
a generic lib function, this can be a lot simpler. I'll give it a
shot later today.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/