projects
/
unionfs-2.6.37.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6bdf6e
)
Unionfs: compat_ioctl fixes
author
Erez Zadok
<ezk@cs.sunysb.edu>
Wed, 4 May 2011 02:52:05 +0000
(22:52 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Wed, 4 May 2011 02:52:05 +0000
(22:52 -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 d408369e3f0cff2adabca222e573a92d29378efa..60dce98f5bd52448885f404e1275894f21cac093 100644
(file)
--- a/
fs/unionfs/commonfops.c
+++ b/
fs/unionfs/commonfops.c
@@
-743,10
+743,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
}