summaryrefslogtreecommitdiffstats
path: root/include/video/broadsheetfb.h
diff options
context:
space:
mode:
authorJan Schmidt <list.btrfs@jan-o-sch.net>2012-02-08 16:01:01 +0100
committerDavid Sterba <dsterba@suse.cz>2012-02-15 16:40:23 +0100
commit8f24b49688281a77e8331894ed407f0cfe732303 (patch)
tree22d5c69f57713ee25a4a3e38404d675c488a91cf /include/video/broadsheetfb.h
parentbtrfs: Sector Size check during Mount (diff)
downloadlinux-8f24b49688281a77e8331894ed407f0cfe732303.tar.xz
linux-8f24b49688281a77e8331894ed407f0cfe732303.zip
Btrfs: avoid positive number with ERR_PTR
inode_ref_info() returns 1 when the element wasn't found and < 0 on error, just like btrfs_search_slot(). In iref_to_path() it's an error when the inode ref can't be found, thus we return ERR_PTR(ret) in that case. In order to avoid ERR_PTR(1), we now set ret to -ENOENT in that case. Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Diffstat (limited to 'include/video/broadsheetfb.h')
0 files changed, 0 insertions, 0 deletions