diff options
author | jdike <jdike> | 2003-02-27 17:00:12 +0000 |
---|---|---|
committer | jdike <jdike> | 2003-02-27 17:00:12 +0000 |
commit | 3cc6a516e4de5fa15eb77dcea9749c7e75a2eed0 (patch) | |
tree | e8a01157f042ada4f99c8d3adfa25a7a990d8d90 | |
parent | 21cd9622bf2153be64c9b5bc3db3865873792dc4 (diff) | |
download | uml-history-3cc6a516e4de5fa15eb77dcea9749c7e75a2eed0.tar.gz |
Fixed a list_entry botch.
-rw-r--r-- | arch/um/fs/hppfs/hppfs_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/fs/hppfs/hppfs_kern.c b/arch/um/fs/hppfs/hppfs_kern.c index 481591e..68c0d53 100644 --- a/arch/um/fs/hppfs/hppfs_kern.c +++ b/arch/um/fs/hppfs/hppfs_kern.c @@ -225,7 +225,7 @@ static ssize_t hppfs_read(struct file *file, char *buf, size_t count, data = hppfs->contents; off = *ppos; while(off >= sizeof(data->contents)){ - data = list_entry(&data->list.next, struct hppfs_data, + data = list_entry(data->list.next, struct hppfs_data, list); off -= sizeof(data->contents); } |