Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux 3.4 compat: d_make_root() replaces d_alloc_root() #776

Closed
wants to merge 1 commit into from

Conversation

ryao
Copy link
Contributor

@ryao ryao commented Jun 6, 2012

torvalds/linux@adc0e91 introduced
introduced d_make_root() as a replacement for d_alloc_root(). Further
commits appear to have removed d_alloc_root() from the Linux source
tree. This causes the following failure:

error: implicit declaration of function 'd_alloc_root'
[-Werror=implicit-function-declaration]

To correct this, we introduce an autotools check for d_alloc_root() and
use it whenever it is available.

Signed-off-by: Richard Yao ryao@gentoo.org

torvalds/linux@adc0e91 introduced
introduced d_make_root() as a replacement for d_alloc_root(). Further
commits appear to have removed d_alloc_root() from the Linux source
tree. This causes the following failure:

error: implicit declaration of function 'd_alloc_root'
[-Werror=implicit-function-declaration]

To correct this, we introduce an autotools check for d_alloc_root() and
use it whenever it is available.

Signed-off-by: Richard Yao <ryao@gentoo.org>
@behlendorf
Copy link
Contributor

Slightly reworked but the intent of the patch remains the same. Merged.

pcd1193182 pushed a commit to pcd1193182/zfs that referenced this pull request Sep 26, 2023
…zfs#776)

Bumps [serde_bytes](https://github.com/serde-rs/bytes) from 0.11.7 to 0.11.9.
- [Release notes](https://github.com/serde-rs/bytes/releases)
- [Commits](serde-rs/bytes@0.11.7...0.11.9)

---
updated-dependencies:
- dependency-name: serde_bytes
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants