aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorVivek Goyal <[email protected]>2021-02-09 22:47:54 +0000
committerMiklos Szeredi <[email protected]>2021-03-05 14:46:47 +0000
commit3f9b9efd82a84f27e95d0414f852caf1fa839e83 (patch)
treeb67d0c363189165b968a1a5e73ff91f0205152cc /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentfuse: fix live lock in fuse_iget() (diff)
downloadkernel-3f9b9efd82a84f27e95d0414f852caf1fa839e83.tar.gz
kernel-3f9b9efd82a84f27e95d0414f852caf1fa839e83.zip
virtiofs: Fail dax mount if device does not support it
Right now "mount -t virtiofs -o dax myfs /mnt/virtiofs" succeeds even if filesystem deivce does not have a cache window and hence DAX can't be supported. This gives a false sense to user that they are using DAX with virtiofs but fact of the matter is that they are not. Fix this by returning error if dax can't be supported and user has asked for it. Signed-off-by: Vivek Goyal <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions