ext4: Don't error out the fs if the user tries to make a file too big
authorTheodore Ts'o <tytso@mit.edu>
Tue, 27 Jul 2010 15:56:06 +0000 (11:56 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 27 Jul 2010 15:56:06 +0000 (11:56 -0400)
commit0c095c7f113e9fd05913d6e1b2cccbe356be039e
treef23477719c99d5c20b4f1817c0ebe302a74eb870
parent506bf2d82165c09b179a5077e01037f6270a4db3
ext4: Don't error out the fs if the user tries to make a file too big

If the user attempts to make a non-extent-mapped file to be too large,
return EFBIG, but don't call ext4_std_err() which will end up marking
the file system as containing an error.

Thanks to Toshiyuki Okajima-san at Fujitsu for pointing this out.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c