summaryrefslogtreecommitdiffstats
path: root/include
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
parent09aaacf02a3e88870ed5cad038a5bc822c947904 (diff)
downloadlinux-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.h3
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;