OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
765d368
)
ecryptfs: ->f_op is never NULL
author
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 2 Sep 2014 21:31:28 +0000
(17:31 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 9 Oct 2014 06:39:12 +0000
(
02:39
-0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ecryptfs/file.c
patch
|
blob
|
history
diff --git
a/fs/ecryptfs/file.c
b/fs/ecryptfs/file.c
index
db0fad3
..
4ffa35e
100644
(file)
--- a/
fs/ecryptfs/file.c
+++ b/
fs/ecryptfs/file.c
@@
-327,7
+327,7
@@
ecryptfs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
struct file *lower_file = ecryptfs_file_to_lower(file);
long rc = -ENOIOCTLCMD;
- if (lower_file->f_op
&& lower_file->f_op
->compat_ioctl)
+ if (lower_file->f_op->compat_ioctl)
rc = lower_file->f_op->compat_ioctl(lower_file, cmd, arg);
return rc;
}