docs: networking: move ATM drivers to the hw driver section
[linux-2.6-block.git] / fs / namespace.c
index 7cd642409165738e59c97e9942fee19ad42d52fc..f30ed401cc6d7a824ad5b19b21459cdfd3f0435f 100644 (file)
@@ -684,9 +684,6 @@ bool __is_local_mountpoint(struct dentry *dentry)
        struct mount *mnt;
        bool is_covered = false;
 
-       if (!d_mountpoint(dentry))
-               goto out;
-
        down_read(&namespace_sem);
        lock_ns_list(ns);
        list_for_each_entry(mnt, &ns->list, mnt_list) {
@@ -698,7 +695,7 @@ bool __is_local_mountpoint(struct dentry *dentry)
        }
        unlock_ns_list(ns);
        up_read(&namespace_sem);
-out:
+
        return is_covered;
 }