summaryrefslogtreecommitdiffstats
path: root/include/linux/nbd.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-03-05 20:41:36 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2014-04-01 23:19:10 -0400
commite25115786ee540fc428a14872ebd4f56252aba32 (patch)
treedeb23dba308e9161e859284641c2b9825a5eb456 /include/linux/nbd.h
parent09aaacf02a3e88870ed5cad038a5bc822c947904 (diff)
downloadop-kernel-dev-e25115786ee540fc428a14872ebd4f56252aba32.zip
op-kernel-dev-e25115786ee540fc428a14872ebd4f56252aba32.tar.gz
switch nbd to sockfd_lookup/sockfd_put
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/nbd.h')
-rw-r--r--include/linux/nbd.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/nbd.h b/include/linux/nbd.h
index ae4981e..f62f78a 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;
OpenPOWER on IntegriCloud