Up to [Development] / xfs-cmds / dmapi / libdm
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: XFS-1_3_0pre1
Revision 1.12 / (download) - annotate - [select for diffs], Tue Jun 18 21:05:48 2002 UTC (15 years, 4 months ago) by roehrich
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.11: +1 -1
lines
Diff to previous 1.11 (unified)
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