staging/lustre: FMODE_READ and FMODE_WRITE are always defined in the kernel
So no need to see if they are. Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
89745d32ce
commit
30b2c74904
@ -2158,11 +2158,6 @@ void lustre_swab_mdt_rec_setattr(struct mdt_rec_setattr *sa);
|
||||
#define MDS_ATTR_FROM_OPEN 0x4000ULL /* = 16384, called from open path, ie O_TRUNC */
|
||||
#define MDS_ATTR_BLOCKS 0x8000ULL /* = 32768 */
|
||||
|
||||
#ifndef FMODE_READ
|
||||
#define FMODE_READ 00000001
|
||||
#define FMODE_WRITE 00000002
|
||||
#endif
|
||||
|
||||
#define MDS_FMODE_CLOSED 00000000
|
||||
#define MDS_FMODE_EXEC 00000004
|
||||
/* IO Epoch is opened on a closed file. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user