xfs: create internal eofblocks structure with kuid_t types
authorDwight Engen <dwight.engen@oracle.com>
Thu, 15 Aug 2013 18:08:02 +0000 (14:08 -0400)
committerBen Myers <bpm@sgi.com>
Thu, 15 Aug 2013 19:24:10 +0000 (14:24 -0500)
Have eofblocks ioctl convert uid_t to kuid_t into internal structure.
Update internal filter matching to compare ids with kuid_t types.

Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_fs.h
fs/xfs/xfs_icache.c
fs/xfs/xfs_icache.h
fs/xfs/xfs_ioctl.c

index 53e33c2..1edb5cc 100644 (file)
@@ -357,7 +357,7 @@ typedef struct xfs_error_injection {
  * Speculative preallocation trimming.
  */
 #define XFS_EOFBLOCKS_VERSION          1
-struct xfs_eofblocks {
+struct xfs_fs_eofblocks {
        __u32           eof_version;
        __u32           eof_flags;
        uid_t           eof_uid;
Simple merge
Simple merge
Simple merge