Introduce path_put()
[sfrench/cifs-2.6.git] / arch / sparc64 / solaris / fs.c
index 516932e9f70b8a35b030fb62f96ee6c8a6180034..7d035f0d3ae1fcbf0084f11b2451077616115a34 100644 (file)
@@ -436,7 +436,7 @@ asmlinkage int solaris_statvfs(u32 path, u32 buf)
        if (!error) {
                struct inode *inode = nd.path.dentry->d_inode;
                error = report_statvfs(nd.path.mnt, inode, buf);
-               path_release(&nd);
+               path_put(&nd.path);
        }
        return error;
 }
@@ -466,7 +466,7 @@ asmlinkage int solaris_statvfs64(u32 path, u32 buf)
        if (!error) {
                struct inode *inode = nd.path.dentry->d_inode;
                error = report_statvfs64(nd.path.mnt, inode, buf);
-               path_release(&nd);
+               path_put(&nd.path);
        }
        unlock_kernel();
        return error;