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:
parent
6e74468da6
commit
e3befdc757
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user