summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/file.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/file.c
parent9abea2d64ce93b6909de7f83a7f681f572369708 (diff)
downloadop-kernel-dev-a27b5b97d6fe91f55058ad8ac28a8768700201ab.zip
op-kernel-dev-a27b5b97d6fe91f55058ad8ac28a8768700201ab.tar.gz
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/file.c')
-rw-r--r--fs/hpfs/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/hpfs/file.c b/fs/hpfs/file.c
index 6d8cfe9..7ca28d6 100644
--- a/fs/hpfs/file.c
+++ b/fs/hpfs/file.c
@@ -203,6 +203,7 @@ const struct file_operations hpfs_file_ops =
.release = hpfs_file_release,
.fsync = hpfs_file_fsync,
.splice_read = generic_file_splice_read,
+ .unlocked_ioctl = hpfs_ioctl,
};
const struct inode_operations hpfs_file_iops =
OpenPOWER on IntegriCloud