diff options
-rw-r--r-- | fs/dlm/user.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/dlm/user.c b/fs/dlm/user.c index 3e746a6ebac3..b0201ec325a7 100644 --- a/fs/dlm/user.c +++ b/fs/dlm/user.c | |||
@@ -115,8 +115,6 @@ static void compat_input(struct dlm_write_request *kb, | |||
115 | static void compat_output(struct dlm_lock_result *res, | 115 | static void compat_output(struct dlm_lock_result *res, |
116 | struct dlm_lock_result32 *res32) | 116 | struct dlm_lock_result32 *res32) |
117 | { | 117 | { |
118 | res32->length = res->length - (sizeof(struct dlm_lock_result) - | ||
119 | sizeof(struct dlm_lock_result32)); | ||
120 | res32->user_astaddr = (__u32)(long)res->user_astaddr; | 118 | res32->user_astaddr = (__u32)(long)res->user_astaddr; |
121 | res32->user_astparam = (__u32)(long)res->user_astparam; | 119 | res32->user_astparam = (__u32)(long)res->user_astparam; |
122 | res32->user_lksb = (__u32)(long)res->user_lksb; | 120 | res32->user_lksb = (__u32)(long)res->user_lksb; |