diff options
author | BoxiLiu <lewis.liulei@huawei.com> | 2013-10-30 13:07:20 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-10-30 13:07:20 +0100 |
commit | 48ffdab1c1eb87fee9ed7366472e2b9aa4577a60 (patch) | |
tree | 1c456821dd2e21f429d4a9c2b3ba8f17cb1720bf /fs/ext4/ext4.h | |
parent | ext4: pair trace_ext4_writepages & trace_ext4_writepages_result (diff) | |
download | linux-48ffdab1c1eb87fee9ed7366472e2b9aa4577a60.tar.xz linux-48ffdab1c1eb87fee9ed7366472e2b9aa4577a60.zip |
ext4: change ext4_read_inline_dir() to return 0 on success
In ext4_read_inline_dir(), if there is inline data, the successful
return value is the return value of ext4_read_inline_data(). Howewer,
this is used by ext4_readdir(), and while it seems harmless to return
a positive value on success, it's inconsistent, since historically
we've always return 0 on success.
Signed-off-by: BoxiLiu <lewis.liulei@huawei.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Acked-by: Tao Ma <boyu.mt@taobao.com>
Diffstat (limited to 'fs/ext4/ext4.h')
0 files changed, 0 insertions, 0 deletions