>
>
>
> I identified two more pointer in the xfs_ioctl.c open_by_handle function. If
> you open a
> file in write mode and their was already a cache entry for the file, running
> fsr multiple
> times would do this, some pointer variables would not have defined values
> causing the
> open_by_handle function to reference a null pointer.
>
> I rearranged the code a bit and got rid of the null pointer problem and
> discovered that
> the linux inode i_fop did not point to the sgi xfs file system linux
> functions, it pointed to
> the default i_fop's. I add code to fix that problem and was finally able to
> use the
> open_by_handle funciotns with xfs_fsr.
>
> Could you pass the following patch to Ted:
I'll have a whack at it shortly.
Thanx, -Ted
|