summaryrefslogtreecommitdiff
path: root/fs/jbd2/Kconfig
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2013-12-09 06:11:59 +0400
committerTheodore Ts'o <tytso@mit.edu>2013-12-09 06:11:59 +0400
commit30fac0f75da24dd5bb43c9e911d2039a984ac815 (patch)
treee8e31ec8a47149e935ceba868575c1bd6e750633 /fs/jbd2/Kconfig
parent9105bb149bbbc555d2e11ba5166dfe7a24eae09e (diff)
downloadlinux-30fac0f75da24dd5bb43c9e911d2039a984ac815.tar.xz
ext4: Do not reserve clusters when fs doesn't support extents
When the filesystem doesn't support extents (like in ext2/3 compatibility modes), there is no need to reserve any clusters. Space estimates for writing are exact, hole punching doesn't need new metadata, and there are no unwritten extents to convert. This fixes a problem when filesystem still having some free space when accessed with a native ext2/3 driver suddently reports ENOSPC when accessed with ext4 driver. Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Tested-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/jbd2/Kconfig')
0 files changed, 0 insertions, 0 deletions