[Intel-gfx] [PATCH] drm/i915: Stop reconfiguring our shmemfs mountpoint

Sergey Senozhatsky sergey.senozhatsky at gmail.com
Mon Aug 12 07:11:48 UTC 2019


On (08/08/19 18:22), Chris Wilson wrote:
[..]
> @@ -20,31 +20,18 @@ int i915_gemfs_init(struct drm_i915_private *i915)
>  	if (!type)
>  		return -ENODEV;
[..]
> +	gemfs = kern_mount(type);
> +	if (IS_ERR(gemfs))
> +		return PTR_ERR(gemfs);
>  
>  	i915->mm.gemfs = gemfs;

We still have to put_filesystem(). Right?

	-ss


More information about the Intel-gfx mailing list