Skip to content
Commit 1920779e authored by Dave Chinner's avatar Dave Chinner Committed by Dave Chinner
Browse files

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: default avatarDave Chinner <dchinner@redhat.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
parent 7124fe0a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment