exfat: add support ioctl and FITRIM function
authorHyeongseok Kim <hyeongseok@gmail.com>
Thu, 4 Mar 2021 00:20:35 +0000 (09:20 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Tue, 27 Apr 2021 11:45:06 +0000 (20:45 +0900)
commit654762df2ec7d61b05acc788afbffaba52d658fe
treecd003a28a9c79d4bab576e743fc1dea11467ff0b
parent5c2d728507299f84631ab8020d6f0f98f2cb8fc2
exfat: add support ioctl and FITRIM function

Add FITRIM ioctl to enable discarding unused blocks while mounted.
As current exFAT doesn't have generic ioctl handler, add empty ioctl
function first, and add FITRIM handler.

Signed-off-by: Hyeongseok Kim <hyeongseok@gmail.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Acked-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
fs/exfat/balloc.c
fs/exfat/dir.c
fs/exfat/exfat_fs.h
fs/exfat/file.c