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: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Oleg Drokin 2015-07-30 18:27:59 -04:00 committed by Greg Kroah-Hartman
parent 6e74468da6
commit e3befdc757
2 changed files with 1 additions and 7 deletions

View File

@ -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 */

View File

@ -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;