[Intel-gfx] [PATCH 03/22] mm/shmem: parse mount options for MS_KERNMOUNT

Chris Wilson chris at chris-wilson.co.uk
Mon Sep 25 19:28:01 UTC 2017


Quoting Matthew Auld (2017-09-25 19:47:18)
> In i915 we now have our own tmpfs mount, so ensure that shmem_fill_super
> also calls shmem_parse_options when dealing with a kernel mount.
> Otherwise we have to clumsily call remount_fs when we want to supply our
> mount options.
> 
> Signed-off-by: Matthew Auld <matthew.auld at intel.com>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Dave Hansen <dave.hansen at intel.com>
> Cc: Kirill A. Shutemov <kirill at shutemov.name>
> Cc: Andrew Morton <akpm at linux-foundation.org>
> Cc: Hugh Dickins <hughd at google.com>
> Cc: linux-mm at kvack.org

I could not find a counter argument why all kernel users had to skip
shmem_parse_options(), is there a danger that data may be anything other
than a string or NULL?
-Chris


More information about the Intel-gfx mailing list