Commit 1aee915
Al Viro
nfsd: lock_rename() needs both directories to live on the same fs
... checking that after lock_rename() is too late. Incidentally,
NFSv2 had no nfserr_xdev...
Fixes: aa387d6 "nfsd: fix EXDEV checking in rename"
Cc: [email protected] # v3.9+
Reviewed-by: Jeff Layton <[email protected]>
Acked-by: Chuck Lever <[email protected]>
Tested-by: Jeff Layton <[email protected]>
Signed-off-by: Al Viro <[email protected]>1 parent 94f6f05 commit 1aee915
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1788 | 1788 | | |
1789 | 1789 | | |
1790 | 1790 | | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
| 1796 | + | |
1791 | 1797 | | |
1792 | 1798 | | |
1793 | 1799 | | |
| |||
1823 | 1829 | | |
1824 | 1830 | | |
1825 | 1831 | | |
1826 | | - | |
1827 | | - | |
1828 | | - | |
1829 | | - | |
1830 | | - | |
1831 | | - | |
1832 | 1832 | | |
1833 | 1833 | | |
1834 | 1834 | | |
| |||
0 commit comments