Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
b21012 conf-sanity test_52: @@@@@@ FAIL: Unable to tar files
[fs/lustre-release.git]
/
lustre
/
lclient
/
glimpse.c
diff --git
a/lustre/lclient/glimpse.c
b/lustre/lclient/glimpse.c
index
1527635
..
8c69708
100644
(file)
--- a/
lustre/lclient/glimpse.c
+++ b/
lustre/lclient/glimpse.c
@@
-26,7
+26,7
@@
* GPL HEADER END
*/
/*
* GPL HEADER END
*/
/*
- * Copyright
2008 Sun Microsystems, Inc.
All rights reserved.
+ * Copyright
(c) 2008, 2010, Oracle and/or its affiliates.
All rights reserved.
* Use is subject to license terms.
*/
/*
* Use is subject to license terms.
*/
/*
@@
-60,17
+60,7
@@
#include <sys/stat.h>
#include <sys/queue.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/queue.h>
#include <fcntl.h>
-# include <sysio.h>
-# ifdef HAVE_XTIO_H
-# include <xtio.h>
-# endif
-# include <fs.h>
-# include <mount.h>
-# include <inode.h>
-# ifdef HAVE_FILE_H
-# include <file.h>
-# endif
-# include <liblustre.h>
+#include <liblustre.h>
#endif
#include "cl_object.h"
#endif
#include "cl_object.h"
@@
-223,10
+213,7
@@
int cl_local_size(struct inode *inode)
ENTRY;
ENTRY;
- /*
- * XXX layering violation.
- */
- if (cl_i2info(inode)->lli_smd->lsm_stripe_count == 0)
+ if (!cl_i2info(inode)->lli_smd)
RETURN(0);
result = cl_io_get(inode, &env, &io, &refcheck);
RETURN(0);
result = cl_io_get(inode, &env, &io, &refcheck);