Files
kernel_xiaomi_sm8250/include/linux
Takashi Sato e2d53f9525 [PATCH] 2TB files: change type of kstatfs entries
This fix was proposed by Trond Myklebust.  He says: The type "sector_t" is
heavily tied in to the block layer interface as an offset/handle to a block,
and is subject to a supposedly block-specific configuration option:
CONFIG_LBD.  Despite this, it is used in struct kstatfs to save a couple of
bytes on the stack whenever we call the filesystems' ->statfs().

So kstatfs's entries related to blocks are invalid on statfs64 for a network
filesystem which has more than 2^32-1 blocks when CONFIG_LBD is disabled.

- struct kstatfs
  Change the type of following entries from sector_t to u64.
  f_blocks
  f_bfree
  f_bavail
  f_files
  f_ffree

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Takashi Sato <sho@tnes.nec.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-26 08:57:00 -08:00
..
2006-03-21 08:52:18 -08:00
2006-02-22 09:32:46 +00:00
2006-03-23 23:44:19 -05:00
2006-03-20 14:08:55 -05:00
2006-03-24 07:33:20 -08:00
2006-03-23 07:38:09 -08:00
2006-03-22 10:53:19 +01:00
2006-03-24 07:33:25 -08:00
2006-03-26 08:57:00 -08:00
2006-03-26 08:56:56 -08:00
2006-03-20 17:09:11 -08:00
2006-03-20 22:41:23 -08:00
2006-03-26 08:56:56 -08:00
2006-03-20 22:21:10 -08:00
2006-02-10 08:13:12 -08:00
2006-03-20 13:42:59 -08:00
2006-03-23 07:38:12 -08:00
2006-03-23 07:38:12 -08:00
2006-03-22 07:54:06 -08:00
2006-03-22 07:53:57 -08:00
2006-03-22 07:54:02 -08:00
2006-03-23 07:38:13 -08:00
2006-03-23 07:38:14 -08:00
2006-03-23 07:38:14 -08:00
2006-03-20 22:32:28 -08:00
2006-03-20 13:44:40 -05:00
2006-03-20 13:44:51 -05:00
2006-03-20 13:44:27 -05:00
2006-03-08 14:14:01 -08:00
2006-03-25 08:22:51 -08:00
2006-03-25 08:22:53 -08:00
2006-03-22 07:53:55 -08:00
2006-03-23 07:38:12 -08:00
2006-03-20 22:41:23 -08:00
2006-03-24 07:33:31 -08:00
2006-03-23 07:38:07 -08:00
2006-03-24 18:13:37 +01:00
2006-03-23 07:38:11 -08:00
2006-03-26 08:57:00 -08:00
2006-03-23 07:38:14 -08:00
2006-03-23 07:12:57 -05:00