diff options
Diffstat (limited to 'arch/sparc64')
-rw-r--r-- | arch/sparc64/solaris/fs.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/sparc64/solaris/fs.c b/arch/sparc64/solaris/fs.c index 9311bfe4f2f7..7d035f0d3ae1 100644 --- a/arch/sparc64/solaris/fs.c +++ b/arch/sparc64/solaris/fs.c | |||
@@ -434,9 +434,9 @@ asmlinkage int solaris_statvfs(u32 path, u32 buf) | |||
434 | 434 | ||
435 | error = user_path_walk(A(path),&nd); | 435 | error = user_path_walk(A(path),&nd); |
436 | if (!error) { | 436 | if (!error) { |
437 | struct inode * inode = nd.dentry->d_inode; | 437 | struct inode *inode = nd.path.dentry->d_inode; |
438 | error = report_statvfs(nd.mnt, inode, buf); | 438 | error = report_statvfs(nd.path.mnt, inode, buf); |
439 | path_release(&nd); | 439 | path_put(&nd.path); |
440 | } | 440 | } |
441 | return error; | 441 | return error; |
442 | } | 442 | } |
@@ -464,9 +464,9 @@ asmlinkage int solaris_statvfs64(u32 path, u32 buf) | |||
464 | lock_kernel(); | 464 | lock_kernel(); |
465 | error = user_path_walk(A(path), &nd); | 465 | error = user_path_walk(A(path), &nd); |
466 | if (!error) { | 466 | if (!error) { |
467 | struct inode * inode = nd.dentry->d_inode; | 467 | struct inode *inode = nd.path.dentry->d_inode; |
468 | error = report_statvfs64(nd.mnt, inode, buf); | 468 | error = report_statvfs64(nd.path.mnt, inode, buf); |
469 | path_release(&nd); | 469 | path_put(&nd.path); |
470 | } | 470 | } |
471 | unlock_kernel(); | 471 | unlock_kernel(); |
472 | return error; | 472 | return error; |