]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: reverse the check on XFS_IOC_ZERO_RANGE
authorAndrew Dahl <adahl@sgi.com>
Wed, 14 Nov 2012 18:52:26 +0000 (12:52 -0600)
committerBen Myers <bpm@sgi.com>
Wed, 14 Nov 2012 21:11:52 +0000 (15:11 -0600)
commitca903a4f0fb692d557a82ab4bf87ec406c59354e
treec401a071e2519461c7c70a8a1f41c48196e4679f
parentb9d93669fb9a794a5aa8b9d1d7564f28355e7c4a
xfs: reverse the check on XFS_IOC_ZERO_RANGE

Reversing the check on XFS_IOC_ZERO_RANGE.

Range should be zeroed if the start is less than or equal to the end.

Signed-off-by: Andrew Dahl <adahl@sgi.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_vnodeops.c