It's not safe to call LINVFS_GET_VP(inode) when you don't even know if you
have an XFS inode. You can end up with a mess. So, check for the linvfs
file operations vector on the inode to decide if it is an XFS inode.
Date: Thu Aug 8 08:50:57 PDT 2002
Workarea: clink-eth.americas.sgi.com:/data/clink/a67/roehrich/2.4.x-xfs
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:124577a
linux/fs/xfs/linux/xfs_ioctl.c - 1.72
linux/fs/xfs/dmapi/dmapi_register.c - 1.16
- In path_to_handle/fshandle functions, check for the linvfs operations
vector
on the inode to decide if it is an XFS inode.
|