All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] dm patches for 2.5.50
@ 2002-11-28  6:05 Joe Thornber
  0 siblings, 0 replies; only message in thread
From: Joe Thornber @ 2002-11-28  6:05 UTC (permalink / raw)
  To: linux-lvm, lvm-devel; +Cc: Alan Cox

Latest dm patches for 2.5.50 are available here:

http://people.sistina.com/~thornber/patches/2.5-stable/2.5.50/

- Joe



Revision 1:
  Four constants:
     DM_DIR,
     DM_MAX_TYPE_NAME,
     DM_NAME_LEN,
     DM_UUID_LEN
  
  Were being declared in device-mapper.h, these are all specific to 
  the ioctl interface, so they've been moved to dm-ioctl.h.  Nobody
  in userland should ever include <linux/device-mapper.h> so remove 
  ifdef __KERNEL guards.

Revision 2:
  Joe,
  
  I believe Steve and I found a bug in dm-table.c. The function open_dev()
  has the wrong check after the call to blkdev_get(). Thus, if the
  blkdev_get() call succeeds, bd_claim() is never called. Futhermore, if
  blkdev_get() fails (for instance, if you try to create a target to a
  non-existent device), bd_claim() will fail, and blkdev_put() may segfault.
  
  -- 
  Kevin Corry
  corryk@us.ibm.com
  http://evms.sourceforge.net/
  
  ==============================

Revision 3:
  Return -ENOTBLK if lookup_device() finds the inode, but it
  is not a block device. [Cristoph Hellwig]

Revision 4:
  No need to validate the parameters if we are doing a
  REMOVE_ALL command.

Revision 5:
  check_device_area was comparing the bytes with sectors.
  [Stefan Lauterbach]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-28  6:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-28  6:05 [linux-lvm] dm patches for 2.5.50 Joe Thornber

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.