]> git.karo-electronics.de Git - karo-tx-linux.git/commit
GFS2: Require user to provide argument for FITRIM
authorLukas Czerner <lczerner@redhat.com>
Tue, 16 Oct 2012 09:39:07 +0000 (11:39 +0200)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 16 Oct 2012 10:07:14 +0000 (11:07 +0100)
commitd9a0c38e1777dae49fd5e05586fc16457f88d22c
tree7cf8de6fc30ac6deb0359fdbebda25073c4c4518
parent5d8550fef3eef5092d356c99497575ec06bc612a
GFS2: Require user to provide argument for FITRIM

When the fstrim_range argument is not provided by user in FITRIM ioctl
we should just return EFAULT and not promoting bad behaviour by filling
the structure in kernel. Let the user deal with it.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/rgrp.c