lkml.org 
[lkml]   [1999]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PATCH for 2.3.29: block device setup cleanup.

> The attached patch is an *absolute* prerequsite for any attempt
> to target the overuse of the kdev_t in the kernel ...

You combat an imaginary problem. What overuse?

- read_ahead[MAJOR(dev)] = arg;
+ blk_dev[MAJOR(dev)].read_ahead = arg;

You make ugly code even uglier. In my source that line reads

dev->majordev->read_ahead = arg;

You still do not want to view a kdev_t as a pointer
to a struct with information?

Andries

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.039 / U:0.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site