ceph: fix endianness of getattr mask in ceph_d_revalidate
authorJeff Layton <jlayton@redhat.com>
Thu, 12 Jan 2017 19:42:38 +0000 (14:42 -0500)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 18 Jan 2017 16:58:45 +0000 (17:58 +0100)
commit1097680d759918ce4a8705381c0ab2ed7bd60cf1
treee27b6275434e3c6f59bd265ec49a6afd266dc9bd
parent124f930b8cbc4ac11236e6eb1c5f008318864588
ceph: fix endianness of getattr mask in ceph_d_revalidate

sparse says:

    fs/ceph/dir.c:1248:50: warning: incorrect type in assignment (different base types)
    fs/ceph/dir.c:1248:50:    expected restricted __le32 [usertype] mask
    fs/ceph/dir.c:1248:50:    got int [signed] [assigned] mask

Fixes: 200fd27c8fa2 ("ceph: use lookup request to revalidate dentry")
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/dir.c