X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fnamei.c;h=e5daa6f65c6e894aaeba36a2533599f4ee3fb3b7;hb=aa2ad30371cc452b05de1b5a1b421b08abcee093;hp=5d4645e6537691677ba91a488bfb149c24fa0b08;hpb=e7aa32c8d38696b68e9bc715afc8927abc29f3e5;p=karo-tx-linux.git diff --git a/fs/namei.c b/fs/namei.c index 5d4645e65376..e5daa6f65c6e 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -1969,7 +1969,7 @@ OK: if (err) { const char *s = get_link(nd); - if (unlikely(IS_ERR(s))) + if (IS_ERR(s)) return PTR_ERR(s); err = 0; if (unlikely(!s)) { @@ -3457,7 +3457,7 @@ struct file *do_file_open_root(struct dentry *dentry, struct vfsmount *mnt, return ERR_PTR(-ELOOP); filename = getname_kernel(name); - if (unlikely(IS_ERR(filename))) + if (IS_ERR(filename)) return ERR_CAST(filename); set_nameidata(&nd, -1, filename);