ext4: fix retry handling in ext4_ext_truncate()
authorTheodore Ts'o <tytso@mit.edu>
Mon, 29 Jul 2013 16:12:56 +0000 (12:12 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Aug 2013 05:59:05 +0000 (22:59 -0700)
commitc7039e94cecff031efbdc8ccf7e316c1c6130971
tree09b31c6ec45b6f77fca744bb76123b4c6daa0a23
parentdc953e8985b02cf8952eca4214604f6bd20f1d86
ext4: fix retry handling in ext4_ext_truncate()

commit 94eec0fc3520c759831763d866421b4d60b599b4 upstream.

We tested for ENOMEM instead of -ENOMEM.   Oops.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/extents.c