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
17741774 loff_t pos;
17751775 };
17761776
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−
17831777 /*
17841778 * These flags let !MMU mmap() govern direct device mapping vs immediate
17851779 * copying more easily for MAP_PRIVATE, especially for ROM filesystems.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t