summaryrefslogtreecommitdiff
path: root/fs/ceph/super.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-11-04 11:40:05 -0800
committerSage Weil <sage@newdream.net>2009-11-04 16:36:12 -0800
commit6a18be16f7513ea8a4923c161ce073987932cbdb (patch)
treeebd337329a22deb4289379dd7ccfb0e5db6bd72c /fs/ceph/super.c
parent51042122d4f85e0f8ee577a4230f172fcc57c456 (diff)
downloadlwn-6a18be16f7513ea8a4923c161ce073987932cbdb.tar.gz
lwn-6a18be16f7513ea8a4923c161ce073987932cbdb.zip
ceph: fix sparse endian warning
Use the __le macro, even though for -1 it doesn't matter. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/super.c')
-rw-r--r--fs/ceph/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/super.c b/fs/ceph/super.c
index 0ae40bad53c4..1ac7b07214f3 100644
--- a/fs/ceph/super.c
+++ b/fs/ceph/super.c
@@ -804,7 +804,7 @@ static int ceph_get_sb(struct file_system_type *fs_type,
struct ceph_client *client;
int err;
int (*compare_super)(struct super_block *, void *) = ceph_compare_super;
- const char *path = 0;
+ const char *path = NULL;
struct ceph_mount_args *args;
dout("ceph_get_sb\n");