[XFS] find_exported_dentry(). XFS does not need to use this symbol as it
authorDavid Chinner <dgc@sgi.com>
Tue, 14 Mar 2006 02:02:13 +0000 (13:02 +1100)
committerNathan Scott <nathans@sgi.com>
Tue, 14 Mar 2006 02:02:13 +0000 (13:02 +1100)
is provided by a vector through the superblock export operations when the
filesystem is exported by NFS. The fix is to call that vector instead of
using the exported symbol directly.

SGI-PV: 948858
SGI-Modid: xfs-linux-melb:xfs-kern:25062a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/linux-2.6/xfs_export.c

index 80eb249f2fa0ae83a192d6721d2d48e76665951d..821bd12dd858f3437bda492d288a2141172bb4f1 100644 (file)
@@ -78,7 +78,7 @@ linvfs_decode_fh(
        }
 
        fh = (__u32 *)&ifid;
-       return find_exported_dentry(sb, fh, parent, acceptable, context);
+       return sb->s_export_op->find_exported_dentry(sb, fh, parent, acceptable, context);
 }