diff options
author | Darik Horn <[email protected]> | 2011-12-16 15:15:12 -0600 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-12-16 20:02:52 -0800 |
commit | 28eb9213d89cb25438fcecb86e735cc3edc26ea4 (patch) | |
tree | cc7fd47f23fac75f81ed6d888d6d84aa00711e9c /zfs_config.h.in | |
parent | e6101ea87f5127c549d520aad124290857218fa5 (diff) |
Linux 3.2 compat: set_nlink()
Directly changing inode->i_nlink is deprecated in Linux 3.2 by commit
SHA: bfe8684869601dacfcb2cd69ef8cfd9045f62170
Use the new set_nlink() kernel function instead.
Signed-off-by: Brian Behlendorf <[email protected]>
Closes: #462
Diffstat (limited to 'zfs_config.h.in')
-rw-r--r-- | zfs_config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zfs_config.h.in b/zfs_config.h.in index 41d7ab152..e0f746704 100644 --- a/zfs_config.h.in +++ b/zfs_config.h.in @@ -153,6 +153,9 @@ /* rq_is_sync() is available */ #undef HAVE_RQ_IS_SYNC +/* set_nlink() is available */ +#undef HAVE_SET_NLINK + /* Define to 1 if you have the <stdint.h> header file. */ #undef HAVE_STDINT_H |