Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2
cloop
cloop-3.9.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cloop-3.9.diff of Package cloop
From: Jan Engelhardt <jengelh@inai.de> Date: 2013-05-15 18:41:38.085994028 +0200 cloop: resolve build failure with Linux 3.9 In Linux kernel commit v3.9-rc1~56^2~14, call syntax for vfs_getattr changed. --- cloop.c | 4 ++++ 1 file changed, 4 insertions(+) Index: cloop-2.639/cloop.c =================================================================== --- cloop-2.639.orig/cloop.c +++ cloop-2.639/cloop.c @@ -743,7 +743,11 @@ static int cloop_get_status(struct cloop struct kstat stat; int err; if (!file) return -ENXIO; +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0) + err = vfs_getattr(&file->f_path, &stat); +#else err = vfs_getattr(file->f_path.mnt, file->f_path.dentry, &stat); +#endif if (err) return err; memset(info, 0, sizeof(*info)); info->lo_number = clo->clo_number;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor