提交 e3befdc7 编写于 作者: O Oleg Drokin 提交者: Greg Kroah-Hartman

staging/lustre: replace ll_umode_t with umode_t

umode_t is what we need anyway, so replace all users
and drop the define.
Signed-off-by: NOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 6e74468d
......@@ -146,10 +146,4 @@ static inline int ll_quota_off(struct super_block *sb, int off, int remount)
# define TIMES_SET_FLAGS (ATTR_MTIME_SET | ATTR_ATIME_SET)
#endif
#include <linux/version.h>
#include <linux/fs.h>
# define ll_umode_t umode_t
#endif /* _COMPAT25_H */
......@@ -1008,7 +1008,7 @@ static int ll_unlink(struct inode *dir, struct dentry *dentry)
return rc;
}
static int ll_mkdir(struct inode *dir, struct dentry *dentry, ll_umode_t mode)
static int ll_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
{
int err;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册