ext4: use ERR_PTR() abstraction for ext4_append()
authorTheodore Ts'o <tytso@mit.edu>
Fri, 15 Feb 2013 08:35:57 +0000 (03:35 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 15 Feb 2013 08:35:57 +0000 (03:35 -0500)
commit0f70b40613ee14b0cadafeb461034cff81b4419a
tree10ba1447b672e41bbacdaaf9131844f64c85be4b
parentdc6982ff4db1f47da73b1967ef5302d6721e5b95
ext4: use ERR_PTR() abstraction for ext4_append()

Use ERR_PTR()/IS_ERR() abstraction instead of passing in a separate
pointer to an integer for the error code, as a code cleanup.

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