commit | 9aae20500d9cd3e7d55d0536d359bdd1c869db89 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Tue Oct 30 10:41:01 2018 +1100 |
committer | Dave Chinner <david@fromorbit.com> | Tue Oct 30 10:41:01 2018 +1100 |
tree | 030cee6e5d4a6d1a3f4efae5797e82789b1af136 | |
parent | 07d19dc9fbe9128378b9e226abe886fd8fd473df [diff] |
vfs: skip zero-length dedupe requests Don't bother calling the filesystem for a zero-length dedupe request; we can return zero and exit. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Dave Chinner <david@fromorbit.com>