]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/coda/pioctl.c
Merge branch 'smsc47b397-new-id' into release
[linux-2.6-omap-h63xx.git] / fs / coda / pioctl.c
index 2bf3026adc803065c02e1a80912cc0b2ffe7e266..c21a1f552a63bf0ca7ef5d09905a326036f0e844 100644 (file)
@@ -75,12 +75,12 @@ static int coda_pioctl(struct inode * inode, struct file * filp,
        if ( error ) {
                return error;
         } else {
-               target_inode = nd.dentry->d_inode;
+               target_inode = nd.path.dentry->d_inode;
        }
        
        /* 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;
 }