]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/coda/pioctl.c
jbd2: only create debugfs and stats entries if init is successful
[linux-2.6-omap-h63xx.git] / fs / coda / pioctl.c
index 3b6a1b721b469ab9aeeffc77574ed47d2d98da46..c21a1f552a63bf0ca7ef5d09905a326036f0e844 100644 (file)
@@ -80,7 +80,7 @@ static int coda_pioctl(struct inode * inode, struct file * filp,
        
        /* return if it is not a Coda inode */
        if ( target_inode->i_sb != inode->i_sb ) {
-               path_release(&nd);
+               path_put(&nd.path);
                return  -EINVAL;
        }
 
@@ -89,7 +89,7 @@ static int coda_pioctl(struct inode * inode, struct file * filp,
 
        error = venus_pioctl(inode->i_sb, &(cnp->c_fid), cmd, &data);
 
-       path_release(&nd);
+       path_put(&nd.path);
         return error;
 }