mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
staging: lustre: Fix variable type declaration after refactoring
A recent clean-up declared och_flags as a int rather than fmode_t. This
lead to the following sparse warning:
drivers/staging/lustre/lustre/llite/file.c:106:30: warning: restricted
fmode_t degrades to integer
This patch fixes this issue.
Fixes: 0a12009912 ("staging: lustre: cleanup lustre_lib.h")
Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Acked-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
efd6271be1
commit
4091af4a09
1 changed files with 1 additions and 1 deletions
|
|
@ -892,7 +892,7 @@ struct obd_client_handle {
|
|||
struct md_open_data *och_mod;
|
||||
struct lustre_handle och_lease_handle; /* open lock for lease */
|
||||
__u32 och_magic;
|
||||
int och_flags;
|
||||
fmode_t och_flags;
|
||||
};
|
||||
|
||||
#define OBD_CLIENT_HANDLE_MAGIC 0xd15ea5ed
|
||||
|
|
|
|||
Loading…
Reference in a new issue