From 20348037bc5096988aa648b96d6317f07b67dc3c Mon Sep 17 00:00:00 2001 From: Paolo 'Blaisorblade' Giarrusso Date: Mon, 30 Oct 2006 22:07:04 -0800 Subject: [PATCH] --- yaml --- r: 40502 b: refs/heads/master c: 2a9d32f682b2b4928dcd4680bc99e98a3d096816 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/um/drivers/ubd_kern.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index ca3f85912395..aca9bb5f59a2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 97d88ac83540f9ba9536326c30db4815c5b9169b +refs/heads/master: 2a9d32f682b2b4928dcd4680bc99e98a3d096816 diff --git a/trunk/arch/um/drivers/ubd_kern.c b/trunk/arch/um/drivers/ubd_kern.c index 54d24738280e..e104f59ec519 100644 --- a/trunk/arch/um/drivers/ubd_kern.c +++ b/trunk/arch/um/drivers/ubd_kern.c @@ -150,8 +150,9 @@ static struct gendisk *fake_gendisk[MAX_DEV]; static struct openflags global_openflags = OPEN_FLAGS; struct cow { - /* This is the backing file, actually */ + /* backing file name */ char *file; + /* backing file fd */ int fd; unsigned long *bitmap; unsigned long bitmap_len; @@ -160,6 +161,8 @@ struct cow { }; struct ubd { + /* name (and fd, below) of the file opened for writing, either the + * backing or the cow file. */ char *file; int count; int fd;