Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ext2obd/ext2_obd.c: added iput() after reading a bad inode,
[fs/lustre-release.git]
/
lustre
/
demos
/
obdfsclean.sh
1
#!/bin/sh
2
# Utility script for cleaning up a simple OBDFS mounted filesystem
3
OBDDIR="`dirname $0`/.."
4
. $OBDDIR/demos/config.sh
5
6
umount $MNTOBD
7
rmmod obdfs
8
9
$OBDDIR/class/obdcontrol -f << EOF
10
cleanup
11
detach
12
quit
13
EOF
14
15
rmmod obdext2
16
rmmod obdclass
17
18
$OBDDIR/demos/baseclean.sh