xfs
[Top] [All Lists]

TAKE - path_to_handle operations need to check inode operations vector

To: linux-xfs@xxxxxxxxxxx
Subject: TAKE - path_to_handle operations need to check inode operations vector
From: Dean Roehrich <roehrich@xxxxxxx>
Date: Thu, 8 Aug 2002 10:51:19 -0500 (CDT)
Sender: owner-linux-xfs@xxxxxxxxxxx
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.



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - path_to_handle operations need to check inode operations vector, Dean Roehrich <=