mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 10:11:52 -04:00
Staging: lustre: lustre_mds: Remove unused md_should_create
md_should_create has been defined in header file but not used. Thus remove it. Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
464e5947d1
commit
8cdce48509
@@ -62,12 +62,6 @@ struct mds_group_info {
|
||||
#define MDD_OBD_NAME "mdd_obd"
|
||||
#define MDD_OBD_UUID "mdd_obd_uuid"
|
||||
|
||||
static inline int md_should_create(__u64 flags)
|
||||
{
|
||||
return !(flags & MDS_OPEN_DELAY_CREATE ||
|
||||
!(flags & FMODE_WRITE));
|
||||
}
|
||||
|
||||
/* these are local flags, used only on the client, private */
|
||||
#define M_CHECK_STALE 0200000000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user