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.6 fixes. #1039

Closed
wants to merge 5 commits into from
Closed

Linux 3.6 fixes. #1039

wants to merge 5 commits into from

Conversation

yshui
Copy link
Contributor

@yshui yshui commented Oct 12, 2012

Sorry, but I just can't resist the itch to write this.

They are all trivial API changes, hopefully I've got them all right.

nialv7 and others added 5 commits October 13, 2012 00:05
- sget() now takes one more arguments, which is the mount flag.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
- iops->lookup() now takes a unsigned int instead of struct nameidata.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
…patibility check

Linux 3.6 modifies inode_operations->create's function prototype. This
causes an autotools Linux 3.3. compatibility check for a function
prototype change in create, mkdir and mknode to fail. The check that
Since mkdir and mknode are unchanged, we modify the check to examine it
instead.

Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
- .write_super is removed from super_operations.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
- .create in inode_operations takes a bool flag instead of struct
  nameidata.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
@behlendorf
Copy link
Contributor

By all means, we can use all the help we can get! It might take me a little while to get them reviewed.

@ryao
Copy link
Contributor

ryao commented Oct 14, 2012

These look good to me and they work on my desktop. I will backport this along with several other fixes that are currently in git head master to Gentoo's 0.6.0-rc11 packages tomorrow.

@behlendorf
Copy link
Contributor

@ryao since you guys did all the hard work I'm reviewing these changes now. I expect to get them merged by Monday so you might just want to wait.

@mgmartin
Copy link

Thanks for the patches. They applied clean and no issues under 3.6.2 .

@behlendorf
Copy link
Contributor

Merged with a few changes for issues discovered during testing. See the following merge branch ee7913b

af26c4d - Patch simplified, the hook was and never will be used.
3c20361 - Restructured in to vfs_compat.h
558ef6d - Additional #ifdef's added to autoconf test for compatibility

@behlendorf behlendorf closed this Oct 15, 2012
pcd1193182 pushed a commit to pcd1193182/zfs that referenced this pull request Sep 26, 2023
…#1039)

---
updated-dependencies:
- dependency-name: scopeguard
  dependency-type: indirect
  update-type: version-update:semver-minor
...

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

5 participants