]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: Show a warning message if one of objectid reaches its highest value
authorSatoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Wed, 9 Mar 2016 06:18:57 +0000 (15:18 +0900)
committerDavid Sterba <dsterba@suse.com>
Fri, 11 Mar 2016 16:12:35 +0000 (17:12 +0100)
commit4ed74016dbeaa48a9dad15bf5b41acb50f433049
tree2af24d0fb581fafd251319de820b6ad1a6af2d6a
parent7636a0af6b7c56147685f32f5606adce7fb69ad2
Btrfs: Show a warning message if one of objectid reaches its highest value

It's better to show a warning message for the exceptional case
that one of objectid (in most case, inode number) reaches its
highest value. For example, if inode cache is off and this event
happens, we can't create any file even if there are not so many files.
This message ease detecting such problem.

Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode-map.c