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
Add flock support.
[fs/lustre-release.git]
/
lustre
/
mds
/
handler.c
diff --git
a/lustre/mds/handler.c
b/lustre/mds/handler.c
index
d9353a6
..
51e32ef
100644
(file)
--- a/
lustre/mds/handler.c
+++ b/
lustre/mds/handler.c
@@
-827,7
+827,7
@@
int mds_check_mds_num(struct obd_device *obd, struct inode* inode,
struct mea *mea = NULL;
int mea_size, rc = 0;
ENTRY;
struct mea *mea = NULL;
int mea_size, rc = 0;
ENTRY;
-
+
rc = mds_get_lmv_attr(obd, inode, &mea, &mea_size);
if (rc)
RETURN(rc);
rc = mds_get_lmv_attr(obd, inode, &mea, &mea_size);
if (rc)
RETURN(rc);
@@
-843,7
+843,7
@@
int mds_check_mds_num(struct obd_device *obd, struct inode* inode,
rc = -ERESTART;
}
}
rc = -ERESTART;
}
}
-
+
if (mea)
OBD_FREE(mea, mea_size);
RETURN(rc);
if (mea)
OBD_FREE(mea, mea_size);
RETURN(rc);