add lfs bcond for making large inodes not failing stat:
$ php -r 'var_dump(stat("issue_72810095"));'
PHP Warning: stat(): stat failed for issue_72810095 in Command line code on line 1
PHP Stack trace:
PHP 1. {main}() Command line code:0
PHP 2. stat() Command line code:1
bool(false)
$ stat issue_72810095
File: `issue_72810095'
Size: 4096 Blocks: 8 IO Block: 32768 directory
Device: 17h/23d Inode:
5629499534939156 Links: 2
Access: (0777/drwxrwxrwx) Uid: ( 51/ http) Gid: ( 51/ http)
Access: 2015-11-06 11:41:47.
266401400 +0200
Modify: 2015-11-06 11:41:47.
266401400 +0200
Change: 2015-11-06 11:41:47.
266401400 +0200
Birth: -
git cherry-pick
a0106ed918ffc6ff961caa33a8e27003bcfc3133
build with -D_FILE_OFFSET_BITS=64 to make php not fail on inode64 mounts
http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2014-May/023916.html