xfs
[Top] [All Lists]

Re: xfs_ioctl.c

To: jones@xxxxxxxxxxxxxxxxxx (William L Jones)
Subject: Re: xfs_ioctl.c
From: Ted Kline <jtk@xxxxxxx>
Date: Thu, 20 Jul 2000 11:08:08 -0500 (CDT)
Cc: Nathan.Scott" <nathans@xxxxxxxxxxxxxxxxxxxxxxxx>"@spica.cc.utexas.edu, linux-xfs@xxxxxxxxxxx
In-reply-to: <200007201554.KAA19647@spica.cc.utexas.edu> from "William L Jones" at Jul 20, 2000 10:54:49 AM
Sender: owner-linux-xfs@xxxxxxxxxxx
> 
> 
> 
> 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


<Prev in Thread] Current Thread [Next in Thread>