[XFS] Quota inode has no parent.
authorDavid Chinner <dgc@sgi.com>
Wed, 11 Jul 2007 01:09:33 +0000 (11:09 +1000)
committerTim Shimmin <tes@chook.melbourne.sgi.com>
Sat, 14 Jul 2007 05:41:12 +0000 (15:41 +1000)
commitb11f94d537e6b69f13770143fd7ded3d09fdbaab
treef0c485c71824285e23e7c4fe1835be6b82ba7183
parent2a82b8be8a8dacb48cb7371449a7a9daa558b4a8
[XFS] Quota inode has no parent.

Avoid using a special "zero inode" as the parent of the quota inode as
this can confuse the filestreams code into thinking the quota inode has a
parent. We do not want the quota inode to follow filestreams allocation
rules, so pass a NULL as the parent inode and detect this condition when
doing stream associations.

SGI-PV: 964469
SGI-Modid: xfs-linux-melb:xfs-kern:29098a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/quota/xfs_qm.c
fs/xfs/xfs_inode.c