diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-02-15 13:36:30 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-02-15 13:36:30 -0500 |
commit | 52833e897fd8c6f62b3e5e27291fa9bc803f7460 (patch) | |
tree | cfe90047ee6c7402674a29ec7258319142b96ff1 /arch/mips/kernel/sysirix.c | |
parent | 8d042218b075de3cdbe066198515b3521553746e (diff) | |
parent | 4ee29f6a52158cea526b16a44ae38643946103ec (diff) |
Merge branch 'linus_origin' into hotfixes
Diffstat (limited to 'arch/mips/kernel/sysirix.c')
-rw-r--r-- | arch/mips/kernel/sysirix.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/mips/kernel/sysirix.c b/arch/mips/kernel/sysirix.c index d70c4e0e85fb..672fba84b2cc 100644 --- a/arch/mips/kernel/sysirix.c +++ b/arch/mips/kernel/sysirix.c | |||
@@ -694,7 +694,7 @@ asmlinkage int irix_statfs(const char __user *path, | |||
694 | if (error) | 694 | if (error) |
695 | goto out; | 695 | goto out; |
696 | 696 | ||
697 | error = vfs_statfs(nd.dentry, &kbuf); | 697 | error = vfs_statfs(nd.path.dentry, &kbuf); |
698 | if (error) | 698 | if (error) |
699 | goto dput_and_out; | 699 | goto dput_and_out; |
700 | 700 | ||
@@ -711,7 +711,7 @@ asmlinkage int irix_statfs(const char __user *path, | |||
711 | } | 711 | } |
712 | 712 | ||
713 | dput_and_out: | 713 | dput_and_out: |
714 | path_release(&nd); | 714 | path_put(&nd.path); |
715 | out: | 715 | out: |
716 | return error; | 716 | return error; |
717 | } | 717 | } |
@@ -1360,7 +1360,7 @@ asmlinkage int irix_statvfs(char __user *fname, struct irix_statvfs __user *buf) | |||
1360 | error = user_path_walk(fname, &nd); | 1360 | error = user_path_walk(fname, &nd); |
1361 | if (error) | 1361 | if (error) |
1362 | goto out; | 1362 | goto out; |
1363 | error = vfs_statfs(nd.dentry, &kbuf); | 1363 | error = vfs_statfs(nd.path.dentry, &kbuf); |
1364 | if (error) | 1364 | if (error) |
1365 | goto dput_and_out; | 1365 | goto dput_and_out; |
1366 | 1366 | ||
@@ -1385,7 +1385,7 @@ asmlinkage int irix_statvfs(char __user *fname, struct irix_statvfs __user *buf) | |||
1385 | error |= __put_user(0, &buf->f_fstr[i]); | 1385 | error |= __put_user(0, &buf->f_fstr[i]); |
1386 | 1386 | ||
1387 | dput_and_out: | 1387 | dput_and_out: |
1388 | path_release(&nd); | 1388 | path_put(&nd.path); |
1389 | out: | 1389 | out: |
1390 | return error; | 1390 | return error; |
1391 | } | 1391 | } |
@@ -1611,7 +1611,7 @@ asmlinkage int irix_statvfs64(char __user *fname, struct irix_statvfs64 __user * | |||
1611 | error = user_path_walk(fname, &nd); | 1611 | error = user_path_walk(fname, &nd); |
1612 | if (error) | 1612 | if (error) |
1613 | goto out; | 1613 | goto out; |
1614 | error = vfs_statfs(nd.dentry, &kbuf); | 1614 | error = vfs_statfs(nd.path.dentry, &kbuf); |
1615 | if (error) | 1615 | if (error) |
1616 | goto dput_and_out; | 1616 | goto dput_and_out; |
1617 | 1617 | ||
@@ -1636,7 +1636,7 @@ asmlinkage int irix_statvfs64(char __user *fname, struct irix_statvfs64 __user * | |||
1636 | error |= __put_user(0, &buf->f_fstr[i]); | 1636 | error |= __put_user(0, &buf->f_fstr[i]); |
1637 | 1637 | ||
1638 | dput_and_out: | 1638 | dput_and_out: |
1639 | path_release(&nd); | 1639 | path_put(&nd.path); |
1640 | out: | 1640 | out: |
1641 | return error; | 1641 | return error; |
1642 | } | 1642 | } |