diff options
author | Shraddha Barke <shraddha.6596@gmail.com> | 2015-10-08 01:36:08 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-08 10:21:08 +0100 |
commit | b438000683c91b8c30f889a25ce01868dbc161bc (patch) | |
tree | 40a6cced14aa74017a70d479c13799a9128e6874 /drivers/staging/lustre/lustre/obdclass | |
parent | 230a8da1c5229fbf0824542987b8febb367a5a14 (diff) |
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: Shraddha Barke <shraddha.6596@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/obdclass')
-rw-r--r-- | drivers/staging/lustre/lustre/obdclass/obdo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lustre/obdclass/obdo.c b/drivers/staging/lustre/lustre/obdclass/obdo.c index 1a950fb8e769..75e1deadddd9 100644 --- a/drivers/staging/lustre/lustre/obdclass/obdo.c +++ b/drivers/staging/lustre/lustre/obdclass/obdo.c @@ -127,7 +127,7 @@ void obdo_to_ioobj(struct obdo *oa, struct obd_ioobj *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; @@ -174,7 +174,6 @@ void iattr_from_obdo(struct iattr *attr, struct obdo *oa, u32 valid) 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) { |