Merge tag 'pci-v3.19-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaa...
[cascardo/linux.git] / fs / gfs2 / glock.c
index 8f0c19d..a23524a 100644 (file)
@@ -836,8 +836,7 @@ void gfs2_holder_reinit(unsigned int state, unsigned flags, struct gfs2_holder *
        gh->gh_flags = flags;
        gh->gh_iflags = 0;
        gh->gh_ip = _RET_IP_;
-       if (gh->gh_owner_pid)
-               put_pid(gh->gh_owner_pid);
+       put_pid(gh->gh_owner_pid);
        gh->gh_owner_pid = get_pid(task_pid(current));
 }