Commit b4380006 authored by Shraddha Barke's avatar Shraddha Barke Committed by Greg Kroah-Hartman

Staging: lustre: obdclass: obdo: Declare iattr_from_obdo as static

Declare iattr_from_obdo as static since it is used only in this
particular file.Also remove the corresponding declaration from
header file.
Signed-off-by: default avatarShraddha Barke <shraddha.6596@gmail.com>
Reviewed-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 230a8da1
...@@ -271,7 +271,6 @@ struct obdo; ...@@ -271,7 +271,6 @@ struct obdo;
void obdo_refresh_inode(struct inode *dst, struct obdo *src, u32 valid); void obdo_refresh_inode(struct inode *dst, struct obdo *src, u32 valid);
void obdo_to_ioobj(struct obdo *oa, struct obd_ioobj *ioobj); void obdo_to_ioobj(struct obdo *oa, struct obd_ioobj *ioobj);
void iattr_from_obdo(struct iattr *attr, struct obdo *oa, u32 valid);
void md_from_obdo(struct md_op_data *op_data, struct obdo *oa, u32 valid); void md_from_obdo(struct md_op_data *op_data, struct obdo *oa, u32 valid);
#define OBT(dev) (dev)->obd_type #define OBT(dev) (dev)->obd_type
......
...@@ -127,7 +127,7 @@ void obdo_to_ioobj(struct obdo *oa, struct obd_ioobj *ioobj) ...@@ -127,7 +127,7 @@ void obdo_to_ioobj(struct obdo *oa, struct obd_ioobj *ioobj)
} }
EXPORT_SYMBOL(obdo_to_ioobj); EXPORT_SYMBOL(obdo_to_ioobj);
void iattr_from_obdo(struct iattr *attr, struct obdo *oa, u32 valid) static void iattr_from_obdo(struct iattr *attr, struct obdo *oa, u32 valid)
{ {
valid &= oa->o_valid; valid &= oa->o_valid;
...@@ -174,7 +174,6 @@ void iattr_from_obdo(struct iattr *attr, struct obdo *oa, u32 valid) ...@@ -174,7 +174,6 @@ void iattr_from_obdo(struct iattr *attr, struct obdo *oa, u32 valid)
attr->ia_valid |= ATTR_GID; attr->ia_valid |= ATTR_GID;
} }
} }
EXPORT_SYMBOL(iattr_from_obdo);
void md_from_obdo(struct md_op_data *op_data, struct obdo *oa, u32 valid) void md_from_obdo(struct md_op_data *op_data, struct obdo *oa, u32 valid)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment