[XFS] simplify validata_fields
authorChristoph Hellwig <hch@infradead.org>
Wed, 19 Sep 2007 05:27:39 +0000 (15:27 +1000)
committerTim Shimmin <tes@chook.melbourne.sgi.com>
Wed, 17 Oct 2007 01:10:14 +0000 (11:10 +1000)
commit6572bc28de150aaa6ca182eaf3e60c199ba48630
treead1be400b0648e91b021289c60c578735e7d225a
parent150f29ef2e96392c6ddf24d49289dd40df2783f0
[XFS] simplify validata_fields

Stop using xfs_getattr and a onstack bhv_vattr_t just to get three fields
from the underlying inode and opencode copying from the inode fields
instead.

SGI-PV: 970662
SGI-Modid: xfs-linux-melb:xfs-kern:29711a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/linux-2.6/xfs_iops.c