]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/utimes.c
ACPI PM: Restore the 2.6.24 suspend ordering
[linux-2.6-omap-h63xx.git] / fs / utimes.c
index e5588cd8530e1b7b751bb2a459ac51fdcd3498aa..b18da9c0b97f5f03185b13678ac0ca16932d9c70 100644 (file)
@@ -84,7 +84,7 @@ long do_utimes(int dfd, char __user *filename, struct timespec *times, int flags
                if (error)
                        goto out;
 
-               dentry = nd.dentry;
+               dentry = nd.path.dentry;
        }
 
        inode = dentry->d_inode;
@@ -138,7 +138,7 @@ dput_and_out:
        if (f)
                fput(f);
        else
-               path_release(&nd);
+               path_put(&nd.path);
 out:
        return error;
 }