diff options
author | 2009-12-07 12:52:02 +0100 | |
---|---|---|
committer | 2009-12-07 12:51:36 +0100 | |
commit | 1b52fff059d660d4bf83d97c389dd80f1e6aad9a (patch) | |
tree | ac86a09d41e8e7301e8740f82ed0782cfe61330f /lib | |
parent | [S390] tape: remove f_pos changes from read / write function. (diff) | |
download | linux-dev-1b52fff059d660d4bf83d97c389dd80f1e6aad9a.tar.xz linux-dev-1b52fff059d660d4bf83d97c389dd80f1e6aad9a.zip |
[S390] tape: fix tape remove function
Fix a bug introduced with git commit dff59b64af94dc58:
- if (cdev->dev.driver_data != NULL) {
+ if (!dev_get_drvdata(&cdev->dev)) {
These two are not equivalent.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions