Whamcloud - gitweb
minor nicety.
authoradilger <adilger>
Sat, 12 Oct 2002 05:36:23 +0000 (05:36 +0000)
committeradilger <adilger>
Sat, 12 Oct 2002 05:36:23 +0000 (05:36 +0000)
lustre/include/linux/lustre_lite.h
lustre/llite/file.c

index a8dc323..24afe9e 100644 (file)
@@ -160,8 +160,8 @@ extern struct inode_operations ll_file_inode_operations;
 struct ldlm_lock;
 int ll_lock_callback(struct ldlm_lock *, struct ldlm_lock_desc *, void *data,
                      __u32 data_len, int flag);
-int ll_size_lock(struct inode *, struct lov_stripe_md *, __u64 start, int mode,
-                 struct lustre_handle **);
+int ll_size_lock(struct inode *, struct lov_stripe_md *, obd_off start,
+                 int mode, struct lustre_handle **);
 int ll_size_unlock(struct inode *, struct lov_stripe_md *, int mode,
                    struct lustre_handle *);
 int ll_file_size(struct inode *inode, struct lov_stripe_md *md);
index ede0683..cf1067d 100644 (file)
@@ -141,7 +141,7 @@ out:
         return rc;
 }
 
-int ll_size_lock(struct inode *inode, struct lov_stripe_md *lsm, __u64 start,
+int ll_size_lock(struct inode *inode, struct lov_stripe_md *lsm, obd_off start,
                  int mode, struct lustre_handle **lockhs_p)
 {
         struct ll_sb_info *sbi = ll_i2sbi(inode);