diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2013-11-09 22:19:48 -0500 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-11-09 22:19:48 -0500 |
| commit | bdd3536618443809d18868563eeafa63b9d29603 (patch) | |
| tree | f3f5efe010d28792625f66001951e2fe47262fa9 | |
| parent | 27ac0ffeac80ba6b9580529568d06144df044366 (diff) | |
ecryptfs: ->f_op is never NULL
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| -rw-r--r-- | fs/ecryptfs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ecryptfs/file.c b/fs/ecryptfs/file.c index 6b1cd2b0c751..2229a74aeeed 100644 --- 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) | |||
| 318 | 318 | ||
| 319 | if (ecryptfs_file_to_private(file)) | 319 | if (ecryptfs_file_to_private(file)) |
| 320 | lower_file = ecryptfs_file_to_lower(file); | 320 | lower_file = ecryptfs_file_to_lower(file); |
| 321 | if (lower_file->f_op && lower_file->f_op->unlocked_ioctl) | 321 | if (lower_file->f_op->unlocked_ioctl) |
| 322 | rc = lower_file->f_op->unlocked_ioctl(lower_file, cmd, arg); | 322 | rc = lower_file->f_op->unlocked_ioctl(lower_file, cmd, arg); |
| 323 | return rc; | 323 | return rc; |
| 324 | } | 324 | } |
