diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-03-06 02:41:36 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-04-02 05:19:10 +0200 |
commit | e25115786ee540fc428a14872ebd4f56252aba32 (patch) | |
tree | deb23dba308e9161e859284641c2b9825a5eb456 /include | |
parent | vhost: don't open-code sockfd_put() (diff) | |
download | linux-e25115786ee540fc428a14872ebd4f56252aba32.tar.xz linux-e25115786ee540fc428a14872ebd4f56252aba32.zip |
switch nbd to sockfd_lookup/sockfd_put
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nbd.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/nbd.h b/include/linux/nbd.h index ae4981ebd18e..f62f78aef4ac 100644 --- a/include/linux/nbd.h +++ b/include/linux/nbd.h @@ -24,8 +24,7 @@ struct request; struct nbd_device { int flags; int harderror; /* Code of hard error */ - struct socket * sock; - struct file * file; /* If == NULL, device is not ready, yet */ + struct socket * sock; /* If == NULL, device is not ready, yet */ int magic; spinlock_t queue_lock; |