X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fllite%2Frange_lock.h;h=5266db71bb676bdba21ff924f0e4988372c7d05c;hb=refs%2Fchanges%2F15%2F35815%2F2;hp=dfd350e7df5828be90c0fb7dc12688b60130e962;hpb=500f334631c6ebec72f5791472f21603da3e0ef9;p=fs%2Flustre-release.git diff --git a/lustre/llite/range_lock.h b/lustre/llite/range_lock.h index dfd350e..5266db7 100644 --- a/lustre/llite/range_lock.h +++ b/lustre/llite/range_lock.h @@ -81,7 +81,7 @@ struct range_lock_tree { }; void range_lock_tree_init(struct range_lock_tree *tree); -void range_lock_init(struct range_lock *lock, __u64 start, __u64 end); +int range_lock_init(struct range_lock *lock, __u64 start, __u64 end); int range_lock(struct range_lock_tree *tree, struct range_lock *lock); void range_unlock(struct range_lock_tree *tree, struct range_lock *lock); #endif