Commit 30b2c749 authored by Oleg Drokin's avatar Oleg Drokin Committed by Greg Kroah-Hartman

staging/lustre: FMODE_READ and FMODE_WRITE are always defined in the kernel

So no need to see if they are.
Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 89745d32
...@@ -2158,11 +2158,6 @@ void lustre_swab_mdt_rec_setattr(struct mdt_rec_setattr *sa); ...@@ -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_FROM_OPEN 0x4000ULL /* = 16384, called from open path, ie O_TRUNC */
#define MDS_ATTR_BLOCKS 0x8000ULL /* = 32768 */ #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_CLOSED 00000000
#define MDS_FMODE_EXEC 00000004 #define MDS_FMODE_EXEC 00000004
/* IO Epoch is opened on a closed file. */ /* IO Epoch is opened on a closed file. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment