projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f526037
)
Unionfs: compat_ioctl fixes
author
Erez Zadok
<ezk@cs.sunysb.edu>
Wed, 4 May 2011 02:42:17 +0000
(22:42 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 12 Aug 2011 02:39:41 +0000
(22:39 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/commonfops.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/commonfops.c
b/fs/unionfs/commonfops.c
index 9f63b1c7b1178799c4e4ae755e48f5db60bea421..0a271f44da2633d0d63a7e156f6c88179fdf9176 100644
(file)
--- a/
fs/unionfs/commonfops.c
+++ b/
fs/unionfs/commonfops.c
@@
-742,10
+742,8
@@
static long do_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
if (lower_file->f_op->unlocked_ioctl) {
err = lower_file->f_op->unlocked_ioctl(lower_file, cmd, arg);
#ifdef CONFIG_COMPAT
- } else if (lower_file->f_op->ioctl) {
- err = lower_file->f_op->compat_ioctl(
- lower_file->f_path.dentry->d_inode,
- lower_file, cmd, arg);
+ } else if (lower_file->f_op->compat_ioctl) {
+ err = lower_file->f_op->compat_ioctl(lower_file, cmd, arg);
#endif
}