tcp_memcontrol: remove a redundant statement in tcp_destroy_cgroup()
[deliverable/linux.git] / security / apparmor / path.c
index 2daeea4f92664c178a9aab1241858f9080e23034..e91ffee80162832414fc3222b12624bb0abb46e6 100644 (file)
@@ -94,6 +94,8 @@ static int d_namespace_path(struct path *path, char *buf, int buflen,
         * be returned.
         */
        if (!res || IS_ERR(res)) {
+               if (PTR_ERR(res) == -ENAMETOOLONG)
+                       return -ENAMETOOLONG;
                connected = 0;
                res = dentry_path_raw(path->dentry, buf, buflen);
                if (IS_ERR(res)) {
This page took 0.030177 seconds and 5 git commands to generate.