]> err.no Git - linux-2.6/commit
ext4: fix test ext_generic_write_end() copied return value
authorRoel Kluin <12o3l@tiscali.nl>
Wed, 30 Apr 2008 02:01:18 +0000 (22:01 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 30 Apr 2008 02:01:18 +0000 (22:01 -0400)
commitf8a87d89304c1eea8e4a8dc02d134f57590913c6
tree9d1e5179573a77259c13161a245f7a761e4a5091
parent7c2f3d6f89aab04c5c66a0a757888d3a77a5e899
ext4: fix test ext_generic_write_end() copied return value

'copied' is unsigned, whereas 'ret2' is not. The test (copied < 0) fails

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c