]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2011 16:46:44 +0000 (12:46 -0400)
commit03293ec04b51a34e3912ba37e766f2f66728124f
treef6a3f296f3637e41cf4f1f4342ee889e83bec809
parentf4b258d1113d2dc7330c63ecfc725ab78ddd4abc
xfs: rename XFS_IGET_BULKSTAT to XFS_IGET_UNTRUSTED

commit 1920779e67cbf5ea8afef317777c5bf2b8096188 upstream.

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>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
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