[Top] [All Lists]

TAKE 984564 - split out xfs value-add from xfs_setattr

To: xfs@xxxxxxxxxxx, sgi.bugs.xfs@xxxxxxxxxxxx
Subject: TAKE 984564 - split out xfs value-add from xfs_setattr
From: tes@xxxxxxx (Tim Shimmin)
Date: Fri, 18 Jul 2008 16:24:19 +1000 (EST)
Sender: xfs-bounce@xxxxxxxxxxx
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

Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Date:  Fri Jul 18 16:22:14 AEST 2008
Workarea:  chook.melbourne.sgi.com:/build/tes/2.6.x-xfs-quilt
Inspected by:  hch@xxxxxx

The following file(s) were checked into:

Modid:  xfs-linux-melb:xfs-kern:31677a
fs/xfs/xfs_vnodeops.c - 1.763 - changed
fs/xfs/linux-2.6/xfs_ioctl.c - 1.168 - changed
fs/xfs/linux-2.6/xfs_vnode.h - 1.151 - changed

<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 984564 - split out xfs value-add from xfs_setattr, Tim Shimmin <=