]> Git Repo - linux.git/blobdiff - fs/namespace.c
__detach_mounts(): lookup_mountpoint() can't return ERR_PTR() anymore
[linux.git] / fs / namespace.c
index 6fbc9126367a1cf6db621faa575fd709e114002b..746e3fd1f430795fc2d87a49ad29da67b89c08b3 100644 (file)
@@ -1625,7 +1625,7 @@ void __detach_mounts(struct dentry *dentry)
        namespace_lock();
        lock_mount_hash();
        mp = lookup_mountpoint(dentry);
-       if (IS_ERR_OR_NULL(mp))
+       if (!mp)
                goto out_unlock;
 
        event++;
This page took 0.031081 seconds and 4 git commands to generate.