block: add support for generic mount options
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 16 Aug 2013 10:22:34 +0000 (12:22 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 16 Aug 2013 11:12:54 +0000 (13:12 +0200)
commite2625200c27c9e3a36d90cd0b38b56486886182f
treeb74dc708c206c3f99410fab65b3d91f016a0c258
parent21737b1ff2e0be28b68293c7ac198a8fe505cbc2
block: add support for generic mount options

Not all mount options are to be passed directly to the filesystem driver,
some of them are generic VFS flags that must be passed as bitfield to the
mount() syscall.

Add a new option parsing implementation that properly divides the user
sepcified mount options into flags and fs specific arguments.
block.c