]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[XFS] xfs_setattr currently doesn't just handle the attributes set through
authorChristoph Hellwig <hch@infradead.org>
Fri, 18 Jul 2008 07:13:20 +0000 (17:13 +1000)
committerNiv Sardi <xaiki@debian.org>
Mon, 28 Jul 2008 06:59:36 +0000 (16:59 +1000)
commit25fe55e814a2964c7e16d16a5d08cae6e9313a3a
tree9337a4270cafe83a0bfd14e1c297aa5f24e02c33
parentc032bfcf468013643e05c8274824af10dd7cbb61
[XFS] xfs_setattr currently doesn't just handle the attributes set through
->setattr but also addition XFS-specific attributes: project id, inode
flags and extent size hint. Having these in a single function makes it
more complicated and forces to have us a bhv_vattr intermediate structure
eating up stackspace.

This patch adds a new xfs_ioctl_setattr helper for the XFS ioctls that set
these attributes and remove the code to set them through xfs_setattr.

SGI-PV: 984564

SGI-Modid: xfs-linux-melb:xfs-kern:31677a

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