summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/dir.c
diff options
context:
space:
mode:
authorMikulas Patocka2015-06-28 15:16:57 +0200
committerLinus Torvalds2015-07-09 22:35:30 +0200
commita27b5b97d6fe91f55058ad8ac28a8768700201ab (patch)
tree84272380472c484455a662d17b0b544421a26fe2 /fs/hpfs/dir.c
parentioctl_compat: handle FITRIM (diff)
downloadkernel-qcow2-linux-a27b5b97d6fe91f55058ad8ac28a8768700201ab.tar.gz
kernel-qcow2-linux-a27b5b97d6fe91f55058ad8ac28a8768700201ab.tar.xz
kernel-qcow2-linux-a27b5b97d6fe91f55058ad8ac28a8768700201ab.zip
hpfs: add fstrim support
This patch adds support for fstrim to the HPFS filesystem. Signed-off-by: Mikulas Patocka <mikulas@twibright.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hpfs/dir.c')
-rw-r--r--fs/hpfs/dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/hpfs/dir.c b/fs/hpfs/dir.c
index 2a8e07425de0..dc540bfcee1d 100644
--- a/fs/hpfs/dir.c
+++ b/fs/hpfs/dir.c
@@ -327,4 +327,5 @@ const struct file_operations hpfs_dir_ops =
.iterate = hpfs_readdir,
.release = hpfs_dir_release,
.fsync = hpfs_file_fsync,
+ .unlocked_ioctl = hpfs_ioctl,
};