mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Linux 3.9 compat: set_fs_root takes const struct path *
torvalds/linux@dcf787f391 enforces const-correctness in passing struct path *. Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
committed by
Brian Behlendorf
parent
2a305c34c8
commit
a54718cfe0
@@ -840,7 +840,11 @@ EXPORT_SYMBOL(releasef);
|
||||
# ifdef HAVE_2ARGS_SET_FS_PWD
|
||||
/* Used from 2.6.25 - 2.6.31+ */
|
||||
void
|
||||
# ifdef HAVE_SET_FS_PWD_WITH_CONST
|
||||
set_fs_pwd(struct fs_struct *fs, const struct path *path)
|
||||
# else
|
||||
set_fs_pwd(struct fs_struct *fs, struct path *path)
|
||||
# endif
|
||||
{
|
||||
struct path old_pwd;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user