xfs: rename XFS_IGET_BULKSTAT to XFS_IGET_UNTRUSTED
authorDave Chinner <dchinner@redhat.com>
Thu, 24 Jun 2010 01:15:47 +0000 (11:15 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 24 Jun 2010 01:15:47 +0000 (11:15 +1000)
commit1920779e67cbf5ea8afef317777c5bf2b8096188
treef3450e4075162ef5ec360446c301513a5adf316e
parent7124fe0a5b619d65b739477b3b55a20bf805b06d
xfs: rename XFS_IGET_BULKSTAT to XFS_IGET_UNTRUSTED

Inode numbers may come from somewhere external to the filesystem
(e.g. file handles, bulkstat information) and so are inherently
untrusted. Rename the flag we use for these lookups to make it
obvious we are doing a lookup of an untrusted inode number and need
to verify it completely before trying to read it from disk.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/linux-2.6/xfs_export.c
fs/xfs/xfs_ialloc.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_itable.c