]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging/lustre: FMODE_READ and FMODE_WRITE are always defined in the kernel
authorOleg Drokin <green@linuxhacker.ru>
Thu, 25 Feb 2016 03:00:17 +0000 (22:00 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Feb 2016 06:05:50 +0000 (22:05 -0800)
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>
drivers/staging/lustre/lustre/include/lustre/lustre_idl.h

index ad77d33d8c3c9d5cd01ab38e048a539a68e4a38a..7b5c1329f90172f3416f4790866f803a5db25912 100644 (file)
@@ -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. */