From: Chandra Seetharaman Date: Fri, 19 Jul 2013 22:32:55 +0000 (-0500) Subject: xfs: Initialize all quota inodes to be NULLFSINO X-Git-Tag: v3.12-rc1~80^2~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0102629776a2f5c3bd9c5dc0ef77956c60255074;p=pandora-kernel.git xfs: Initialize all quota inodes to be NULLFSINO mkfs doesn't initialize the quota inodes to NULLFSINO as it does for the other internal inodes. This leads to two in-core values (0 and NULLFSINO) to be checked against, to make sure if a quota inode is valid. Solve that problem by initializing the in-core values of all quotaino values to NULLFSINO if they are 0 in the disk. Note that these values are not written back to on-disk superblock unless some quota is enabled on the filesystem. Even in that case sb_pquotino is written to disk only if the on-disk superblock supports pquotino Signed-off-by: Chandra Seetharaman Reviewed-by: Ben Myers Signed-off-by: Ben Myers --- Reading git-diff-tree failed