xfs
[Top] [All Lists]

TAKE - make libdm dm_handle_to_path() do more work, let kernel do less

To: linux-xfs@xxxxxxxxxxx
Subject: TAKE - make libdm dm_handle_to_path() do more work, let kernel do less
From: Dean Roehrich <roehrich@xxxxxxx>
Date: Tue, 18 Jun 2002 16:06:15 -0500 (CDT)
Sender: owner-linux-xfs@xxxxxxxxxxx
In dm_handle_to_path(), use getmntent() to walk through the filesystems,
looking for one with an fshandle that matches that of the object we're trying
to find.  Open that path so we have a filedescriptor, and hence a valid
vfsmount structure, to give to dm_open_by_handle().  This simplifies a mess on
the kernel side.

Date:  Tue Jun 18 14:05:48 PDT 2002
Workarea:  clink-eth.americas.sgi.com:/data/clink/a67/roehrich/2.4.x-xfs

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs


Modid:  xfs-cmds:slinx:121884a
cmd/dmapi/VERSION - 1.13
        - No Message Supplied

cmd/dmapi/doc/CHANGES - 1.12
        - No Message Supplied

cmd/dmapi/build/rpm/dmapi.spec.in - 1.11
        - No Message Supplied

cmd/dmapi/debian/control - 1.8
        - No Message Supplied

cmd/dmapi/libdm/dm_handle2path.c - 1.11
        - No Message Supplied

cmd/dmapi/libdm/dmapi_lib.c - 1.12
        - No Message Supplied

cmd/dmapi/libdm/Makefile - 1.12
        - No Message Supplied



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - make libdm dm_handle_to_path() do more work, let kernel do less, Dean Roehrich <=