diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-03-05 20:41:36 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-04-01 23:19:10 -0400 |
commit | e25115786ee540fc428a14872ebd4f56252aba32 (patch) | |
tree | deb23dba308e9161e859284641c2b9825a5eb456 /include | |
parent | 09aaacf02a3e88870ed5cad038a5bc822c947904 (diff) | |
download | linux-e25115786ee540fc428a14872ebd4f56252aba32.tar.gz linux-e25115786ee540fc428a14872ebd4f56252aba32.tar.bz2 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; |