History

fs: remove the HAVE_UNLOCKED_IOCTL and HAVE_COMPAT_IOCTL defines

These are not defined anywhere, and contrary to the comments we really do not care about out of tree code at all.

Christoph Hellwig committed 6 years ago

Commit 4e245661 parent 7dbac5b1 file · +0 −6Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/fs.h+0−6
@@ -1774,12 +1774,6 @@ struct dir_context { · 1773 unmodified lines
1774 loff_t pos;1774 loff_t pos;
1775};1775};
1776 1776
1777/* These macros are for out of kernel modules to test that
1778 * the kernel supports the unlocked_ioctl and compat_ioctl
1779 * fields in struct file_operations. */
1780#define HAVE_COMPAT_IOCTL 1
1781#define HAVE_UNLOCKED_IOCTL 1
1782
1783/*1777/*
1784 * These flags let !MMU mmap() govern direct device mapping vs immediate1778 * These flags let !MMU mmap() govern direct device mapping vs immediate
1785 * copying more easily for MAP_PRIVATE, especially for ROM filesystems.1779 * copying more easily for MAP_PRIVATE, especially for ROM filesystems.