diff options
author | Christoph Hellwig <hch@infradead.org> | 2007-10-11 17:47:00 +1000 |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-10-16 12:21:48 +1000 |
commit | c83bfab1faec9c32297d2079c06adaaaea2650d9 (patch) | |
tree | facee67eadcb9cee317f40a9cd421eafce376bbe /fs/xfs/xfs_itable.c | |
parent | 859d718279b6e1d6bc27a701db47c1be720b5907 (diff) | |
download | linux-c83bfab1faec9c32297d2079c06adaaaea2650d9.tar.gz linux-c83bfab1faec9c32297d2079c06adaaaea2650d9.tar.bz2 linux-c83bfab1faec9c32297d2079c06adaaaea2650d9.zip |
[XFS] avoid xfs_getattr in XFS_IOC_FSGETXATTR ioctl
No need to call into xfs_getattr and put a big bhv_vattr_t on the stack
just to get a little information from the XFS inode.
Add a helper called xfs_ioc_fsgetxattr instead that deals with retrieving
the information in a clean way.
SGI-PV: 968563
SGI-Modid: xfs-linux-melb:xfs-kern:29780a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_itable.c')
0 files changed, 0 insertions, 0 deletions