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
LU-10988 lfsck: load object attr when prepare LFSCK request
[fs/lustre-release.git]
/
lustre
/
obdclass
/
dt_object.c
diff --git
a/lustre/obdclass/dt_object.c
b/lustre/obdclass/dt_object.c
index
c2f9224
..
a8f144f
100644
(file)
--- a/
lustre/obdclass/dt_object.c
+++ b/
lustre/obdclass/dt_object.c
@@
-210,10
+210,11
@@
enum dt_format_type dt_mode_to_dft(__u32 mode)
result = DFT_NODE;
break;
default:
- LBUG();
- break;
- }
- return result;
+ LASSERTF(0, "invalid mode %o\n", mode);
+ result = 0; /* Just for satisfying compiler. */
+ break;
+ }
+ return result;
}
EXPORT_SYMBOL(dt_mode_to_dft);