xfs: Disallow 32bit project quota id
authorArkadiusz Mi?kiewicz <arekm@maven.pl>
Thu, 26 Aug 2010 10:19:43 +0000 (10:19 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 2 Sep 2010 15:29:08 +0000 (10:29 -0500)
commit23963e54ce187ca6e907c83176c15508b0f6e60d
tree9cac313a1dce67874c9711061ff10f82ccb7c4d0
parent2bfc96a127bc1cc94d26bfaa40159966064f9c8c
xfs: Disallow 32bit project quota id

Currently on-disk structure is able to keep only 16bit project quota
id, so disallow 32bit ones. This fixes a problem where parts of
kernel structures holding project quota id are 32bit while parts
(on-disk) are 16bit variables which causes project quota member
files to be inaccessible for some operations (like mv/rm).

Signed-off-by: Arkadiusz Mi?kiewicz <arekm@maven.pl>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/linux-2.6/xfs_ioctl.c