Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 196721 Details for
Bug 291981
chattr / lsattr broken on 32bit userspace and 64bit kernel x86_64 w/ xfs
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to test
xfs_ioctl32_attr.patch (text/plain), 1.34 KB, created by
Eric Sandeen
on 2007-09-16 14:45:11 UTC
(
hide
)
Description:
patch to test
Filename:
MIME Type:
Creator:
Eric Sandeen
Created:
2007-09-16 14:45:11 UTC
Size:
1.34 KB
patch
obsolete
>Index: linux-2.6.22/fs/xfs/linux-2.6/xfs_ioctl32.c >=================================================================== >--- linux-2.6.22.orig/fs/xfs/linux-2.6/xfs_ioctl32.c >+++ linux-2.6.22/fs/xfs/linux-2.6/xfs_ioctl32.c >@@ -377,8 +377,6 @@ xfs_compat_ioctl( > case XFS_IOC_DIOINFO: > case XFS_IOC_FSGEOMETRY: > case XFS_IOC_GETVERSION: >- case XFS_IOC_GETXFLAGS: >- case XFS_IOC_SETXFLAGS: > case XFS_IOC_FSGETXATTR: > case XFS_IOC_FSSETXATTR: > case XFS_IOC_FSGETXATTRA: >@@ -404,6 +402,10 @@ xfs_compat_ioctl( > case XFS_IOC_ERROR_CLEARALL: > break; > >+ case XFS_IOC32_GETXFLAGS: >+ case XFS_IOC32_SETXFLAGS: >+ cmd = _NATIVE_IOC(cmd, long); >+ break; > #ifdef BROKEN_X86_ALIGNMENT > /* xfs_flock_t has wrong u32 vs u64 alignment */ > case XFS_IOC_ALLOCSP_32: >Index: linux-2.6.22/fs/xfs/xfs_fs.h >=================================================================== >--- linux-2.6.22.orig/fs/xfs/xfs_fs.h >+++ linux-2.6.22/fs/xfs/xfs_fs.h >@@ -436,8 +436,10 @@ typedef struct xfs_handle { > /* > * ioctl commands that are used by Linux filesystems > */ >-#define XFS_IOC_GETXFLAGS _IOR('f', 1, long) >-#define XFS_IOC_SETXFLAGS _IOW('f', 2, long) >+#define XFS_IOC_GETXFLAGS FS_IOC_GETFLAGS >+#define XFS_IOC_SETXFLAGS FS_IOC_SETFLAGS >+#define XFS_IOC32_GETXFLAGS FS_IOC32_GETFLAGS >+#define XFS_IOC32_SETXFLAGS FS_IOC32_SETFLAGS > #define XFS_IOC_GETVERSION _IOR('v', 1, long) > > /* >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 291981
: 196721