projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27ac0ff
)
ecryptfs: ->f_op is never NULL
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 10 Nov 2013 03:19:48 +0000
(22:19 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 10 Nov 2013 03:19:48 +0000
(22:19 -0500)
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 6b1cd2b0c75179f822319c6ae7a28c06fb108b53..2229a74aeeedaab2a6b6b49f9c4c9309f1369367 100644
(file)
--- a/
fs/ecryptfs/file.c
+++ b/
fs/ecryptfs/file.c
@@
-318,7
+318,7
@@
ecryptfs_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
if (ecryptfs_file_to_private(file))
lower_file = ecryptfs_file_to_lower(file);
- if (lower_file->f_op
&& lower_file->f_op
->unlocked_ioctl)
+ if (lower_file->f_op->unlocked_ioctl)
rc = lower_file->f_op->unlocked_ioctl(lower_file, cmd, arg);
return rc;
}