Skip to content
Snippets Groups Projects
Commit b6488b37 authored by huangwei's avatar huangwei
Browse files

b=5491

r=alex,adilger

a minor fix for posix test suit T.fcntl 23 failure
parent 05c7ee7e
No related branches found
No related tags found
No related merge requests found
...@@ -541,8 +541,8 @@ granted: ...@@ -541,8 +541,8 @@ granted:
cfs_flock_set_type(getlk, F_UNLCK); cfs_flock_set_type(getlk, F_UNLCK);
} }
cfs_flock_set_pid(getlk, (pid_t)lock->l_policy_data.l_flock.pid); cfs_flock_set_pid(getlk, (pid_t)lock->l_policy_data.l_flock.pid);
cfs_flock_set_start(getlk, (off_t)lock->l_policy_data.l_flock.start); cfs_flock_set_start(getlk, (loff_t)lock->l_policy_data.l_flock.start);
cfs_flock_set_end(getlk, (off_t)lock->l_policy_data.l_flock.end); cfs_flock_set_end(getlk, (loff_t)lock->l_policy_data.l_flock.end);
} else { } else {
int noreproc = LDLM_FL_WAIT_NOREPROC; int noreproc = LDLM_FL_WAIT_NOREPROC;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment