]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfa4a3898180b6456f95e7fac7a71eac119849989
tree10ba1447b672e41bbacdaaf9131844f64c85be4b
parent3603edd0d817352f5f248173511c1bb59c858ae3
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