drbd: fix setsockopt for user mode linux
authorLars Ellenberg <lars.ellenberg@linbit.com>
Sat, 23 Apr 2011 12:45:14 +0000 (14:45 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:49:04 +0000 (16:49 +0100)
commited439848ca6029c748b537e510a1ed5a506ea123
treea3f832db745f625616e7ea6a956173a86ca8be7b
parent71932efc1cfccfe1cc8e48b21f8cea5fbbc80e24
drbd: fix setsockopt for user mode linux

We use our own copy of kernel_setsockopt, and did not mess around with
get_fs/set_fs, since we thought we knew we would always be KERNEL_DS
anyways. Apparently not so for at least user mode linux, so put the
set_fs(KERNEL_DS) in there.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_int.h