projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] BLOCK: Move the Ext2 device ioctl compat stuff to the Ext2 driver [try #6]
[deliverable/linux.git]
/
fs
/
ext2
/
file.c
diff --git
a/fs/ext2/file.c
b/fs/ext2/file.c
index 23e2c7ccec1d15794c2679c4215a917b8f0edb25..e8bbed9dd2680d094b550228694fe66136b7ea80 100644
(file)
--- a/
fs/ext2/file.c
+++ b/
fs/ext2/file.c
@@
-46,6
+46,9
@@
const struct file_operations ext2_file_operations = {
.aio_read = generic_file_aio_read,
.aio_write = generic_file_aio_write,
.ioctl = ext2_ioctl,
.aio_read = generic_file_aio_read,
.aio_write = generic_file_aio_write,
.ioctl = ext2_ioctl,
+#ifdef CONFIG_COMPAT
+ .compat_ioctl = ext2_compat_ioctl,
+#endif
.mmap = generic_file_mmap,
.open = generic_file_open,
.release = ext2_release_file,
.mmap = generic_file_mmap,
.open = generic_file_open,
.release = ext2_release_file,
@@
-63,6
+66,9
@@
const struct file_operations ext2_xip_file_operations = {
.read = xip_file_read,
.write = xip_file_write,
.ioctl = ext2_ioctl,
.read = xip_file_read,
.write = xip_file_write,
.ioctl = ext2_ioctl,
+#ifdef CONFIG_COMPAT
+ .compat_ioctl = ext2_compat_ioctl,
+#endif
.mmap = xip_file_mmap,
.open = generic_file_open,
.release = ext2_release_file,
.mmap = xip_file_mmap,
.open = generic_file_open,
.release = ext2_release_file,
This page took
0.026543 seconds
and
5
git commands to generate.