Tag: 34d19bada00f4825588b338a8ee193820f9ceeb0

fs/btrfs/inode.c: Add missing IS_ERR test

Author: Julia Lawall <julia@diku.dk> After the conditional that precedes the following code, inode may be an ERR_PTR value. This can eg result from a memory allocation failure via the call to btrfs_iget, and thus does not imply that root is different than sub_root. Thus, an IS_ERR check is added to ensure that there is no …

Continue reading