summaryrefslogtreecommitdiff
path: root/drivers/misc/cxl/file.c
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2016-06-12 21:37:53 (GMT)
committerRichard Weinberger <richard@nod.at>2016-06-14 08:51:42 (GMT)
commitad022c87187b50f50937bd9bcd1ef312442a89af (patch)
tree738dda7e226f86ba2b875296828a85421834ea14 /drivers/misc/cxl/file.c
parentdb06d759d6cf903aeda8c107fd3abd366dd80200 (diff)
downloadlinux-ad022c87187b50f50937bd9bcd1ef312442a89af.tar.xz
Revert "mtd: switch ubi_open_volume_path() to vfs_stat()"
This reverts commit 322ea0bbf3003df17b6253f76e572c37d79a6810. vfs_stat() can only be used on user supplied buffers. UBI's kapi.c is the API to the kernel and therefore vfs_stat() is inappropriate. This solves the problem that mounting any UBIFS will immediately fail with -EINVAL. Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/misc/cxl/file.c')
0 files changed, 0 insertions, 0 deletions