summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/dir.c
diff options
context:
space:
mode:
authorMikulas Patocka <mikulas@twibright.com>2015-06-28 15:16:57 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-07-09 13:35:30 -0700
commita27b5b97d6fe91f55058ad8ac28a8768700201ab (patch)
tree84272380472c484455a662d17b0b544421a26fe2 /fs/hpfs/dir.c
parent9abea2d64ce93b6909de7f83a7f681f572369708 (diff)
downloadlinux-a27b5b97d6fe91f55058ad8ac28a8768700201ab.tar.bz2
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,
};