X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fobdclass%2Fstatfs_pack.c;h=022eafa2b5ee570040de45f5cc08b05e7e75e6af;hb=f2f09b6ecd85ceb05cd64907a71f87bbc49bfc21;hp=619638037749d9d8f4cbf4899f2e584bcab5ec24;hpb=6869932b552ac705f411de3362f01bd50c1f6f7d;p=fs%2Flustre-release.git diff --git a/lustre/obdclass/statfs_pack.c b/lustre/obdclass/statfs_pack.c index 6196380..022eafa 100644 --- a/lustre/obdclass/statfs_pack.c +++ b/lustre/obdclass/statfs_pack.c @@ -26,7 +26,7 @@ * GPL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved + * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. */ /* @@ -54,7 +54,7 @@ #include #include -void statfs_pack(struct obd_statfs *osfs, struct kstatfs *sfs) +void statfs_pack(struct obd_statfs *osfs, cfs_kstatfs_t *sfs) { memset(osfs, 0, sizeof(*osfs)); osfs->os_type = sfs->f_type; @@ -67,7 +67,7 @@ void statfs_pack(struct obd_statfs *osfs, struct kstatfs *sfs) osfs->os_namelen = sfs->f_namelen; } -void statfs_unpack(struct kstatfs *sfs, struct obd_statfs *osfs) +void statfs_unpack(cfs_kstatfs_t *sfs, struct obd_statfs *osfs) { memset(sfs, 0, sizeof(*sfs)); sfs->f_type = osfs->os_type;