aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/drivers')
-rw-r--r--arch/um/drivers/ubd_kern.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c
index 54d24738280e..e104f59ec519 100644
--- a/arch/um/drivers/ubd_kern.c
+++ b/arch/um/drivers/ubd_kern.c
@@ -150,8 +150,9 @@ static struct gendisk *fake_gendisk[MAX_DEV];
150static struct openflags global_openflags = OPEN_FLAGS; 150static struct openflags global_openflags = OPEN_FLAGS;
151 151
152struct cow { 152struct cow {
153 /* This is the backing file, actually */ 153 /* backing file name */
154 char *file; 154 char *file;
155 /* backing file fd */
155 int fd; 156 int fd;
156 unsigned long *bitmap; 157 unsigned long *bitmap;
157 unsigned long bitmap_len; 158 unsigned long bitmap_len;
@@ -160,6 +161,8 @@ struct cow {
160}; 161};
161 162
162struct ubd { 163struct ubd {
164 /* name (and fd, below) of the file opened for writing, either the
165 * backing or the cow file. */
163 char *file; 166 char *file;
164 int count; 167 int count;
165 int fd; 168 int fd;