File: [Development] / xfs-cmds / dmapi / VERSION (download)
Revision 1.13, Tue Jun 18 21:05:48 2002 UTC (15 years, 4 months ago) by roehrich
Branch: MAIN
Changes since 1.12: +1 -1
lines
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.
No Message Supplied
|