* Oleg Nesterov <[email protected]> [2014-05-19 20:41:36]: > tmpfs is widely used but as Denys reports shmem_aops doesn't have > ->readpage() and thus you can't probe a binary on this filesystem. > > As Hugh suggested we can use shmem_read_mapping_page() in this case, > just we need to check shmem_mapping() if ->readpage == NULL. > > Reported-by: Denys Vlasenko <[email protected]> > Suggested-by: Hugh Dickins <[email protected]> > Signed-off-by: Oleg Nesterov <[email protected]>
Acked-by: Srikar Dronamraju <[email protected]> -- Thanks and Regards Srikar Dronamraju -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

