get rid of legacy 'get_ds()' function
[linux-2.6-block.git] / security / integrity / iint.c
index 88f04b3380d4a8ce94d32fad23b7e86788d9357b..423876fca8b46f780c5751a22f14fee8a64404d0 100644 (file)
@@ -200,7 +200,7 @@ int integrity_kernel_read(struct file *file, loff_t offset,
                return -EBADF;
 
        old_fs = get_fs();
-       set_fs(get_ds());
+       set_fs(KERNEL_DS);
        ret = __vfs_read(file, buf, count, &offset);
        set_fs(old_fs);