X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Flov%2Flov_offset.c;h=3a7f6106796c58fb48ca66213f8c38fc4e606373;hp=0032131585a155176138bee39aa9c93c8ae1e02a;hb=f913720c7e09f9e829bbd6bea49e0f4cb9b4e6c5;hpb=2104ed0f0da3651f0cb4ab0c78a1037891d7cb4f diff --git a/lustre/lov/lov_offset.c b/lustre/lov/lov_offset.c index 0032131..3a7f610 100644 --- a/lustre/lov/lov_offset.c +++ b/lustre/lov/lov_offset.c @@ -15,11 +15,7 @@ * * You should have received a copy of the GNU General Public License * version 2 along with this program; If not, see - * http://www.sun.com/software/products/lustre/docs/GPLv2.pdf - * - * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, - * CA 95054 USA or visit www.sun.com if you need additional information or - * have any questions. + * http://www.gnu.org/licenses/gpl-2.0.html * * GPL HEADER END */ @@ -231,8 +227,7 @@ loff_t lov_size_to_stripe(struct lov_stripe_md *lsm, u64 file_size, * that is contained within the lov extent. this returns true if the given * stripe does intersect with the lov extent. */ int lov_stripe_intersects(struct lov_stripe_md *lsm, int stripeno, - loff_t start, loff_t end, - loff_t *obd_start, loff_t *obd_end) + u64 start, u64 end, u64 *obd_start, u64 *obd_end) { int start_side, end_side;