Commits
Kirill Korotaev authored and Pavel Emelianov committed 9773dc0823f
[PATCH] make static counters in new_inode and iunique be 32 bits From: Jeff Layton <jlayton@redhat.com> To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org When a 32-bit program that was not compiled with large file offsets does a stat and gets a st_ino value back that won't fit in the 32 bit field, glibc (correctly) generates an EOVERFLOW error. We can't do anything about fs's with larger permanent inode numbers, but when we generate them on the fly, we ought to try and have them fit within a 32 bit field. This patch takes the first step toward this by making the static counters in these two functions be 32 bits. Signed-off-by: Jeff Layton <jlayton@redhat.com> Acked-By: Kirill Korotaev <dev@openvz.org>