android_kernel_xiaomi_sm8350/fs/ext3
Josef Bacik 972fbf7798 ext3: don't try to resize if there are no reserved gdt blocks left
When trying to resize a ext3 fs and you run out of reserved gdt blocks,
you get an error that doesn't actually tell you what went wrong, it just
says that the gdb it picked is not correct, which is the case since you
don't have any reserved gdt blocks left.  This patch adds a check to make
sure you have reserved gdt blocks to use, and if not prints out a more
relevant error.

Signed-off-by: Josef Bacik <jbacik@redhat.com>
Cc: <linux-ext4@vger.kernel.org>
Cc: Andreas Dilger <adilger@sun.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-20 08:52:37 -07:00
..
acl.c [PATCH] sanitize ->permission() prototype 2008-07-26 20:53:14 -04:00
acl.h [PATCH] sanitize ->permission() prototype 2008-07-26 20:53:14 -04:00
balloc.c
bitmap.c
dir.c ext3: improve some code in rb tree part of dir.c 2008-07-25 10:53:32 -07:00
ext3_jbd.c
file.c generic block based fiemap implementation 2008-10-03 17:32:43 -04:00
fsync.c
hash.c
ialloc.c ext3: handle corrupted orphan list at mount 2008-07-25 10:53:32 -07:00
inode.c generic block based fiemap implementation 2008-10-03 17:32:43 -04:00
ioctl.c
Makefile
namei.c ext3: validate directory entry data before use 2008-07-25 10:53:33 -07:00
namei.h
resize.c ext3: don't try to resize if there are no reserved gdt blocks left 2008-10-20 08:52:37 -07:00
super.c vfs: Use const for kernel parser table 2008-10-13 10:10:37 -07:00
symlink.c
xattr_security.c ext3: remove double definitions of xattr macros 2008-07-25 10:53:32 -07:00
xattr_trusted.c ext3: remove double definitions of xattr macros 2008-07-25 10:53:32 -07:00
xattr_user.c ext3: remove double definitions of xattr macros 2008-07-25 10:53:32 -07:00
xattr.c
xattr.h