[PATCH 3.12 05/84] ocfs2: fix start offset to ocfs2_zero_range_for_truncate()

2016-10-17 Thread Jiri Slaby
From: Ashish Samant 3.12-stable review patch. If anyone has any objections, please let me know. === commit d21c353d5e99c56cdd5b5c1183ffbcaf23b8b960 upstream. If we punch a hole on a reflink such that following conditions are met: 1. start offset is on a

[PATCH 3.12 05/84] ocfs2: fix start offset to ocfs2_zero_range_for_truncate()

2016-10-17 Thread Jiri Slaby
From: Ashish Samant 3.12-stable review patch. If anyone has any objections, please let me know. === commit d21c353d5e99c56cdd5b5c1183ffbcaf23b8b960 upstream. If we punch a hole on a reflink such that following conditions are met: 1. start offset is on a cluster boundary 2. end