View | Details | Raw Unified | Return to bug 94160
Collapse All | Expand All

(-)linux-2.6.5.orig/fs/sysfs/file.c (+3 lines)
Lines 114-119 Link Here
114
{
116
{
115
	int error;
117
	int error;
116
118
119
	if (*ppos > buffer->count)
120
		return 0;
121
117
	if (count > (buffer->count - *ppos))
122
	if (count > (buffer->count - *ppos))
118
		count = buffer->count - *ppos;
123
		count = buffer->count - *ppos;
119
124

Return to bug 94160