staging/lustre: Remove server-only values from enum lu_dirent_attrs
authorOleg Drokin <green@linuxhacker.ru>
Thu, 25 Feb 2016 03:00:11 +0000 (22:00 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Feb 2016 06:05:50 +0000 (22:05 -0800)
These values cannot be seen on the client so we probably should
not even be aware of them on the client.

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 d2f05e3dc1eac7c1d1c7e375b04fa3126a07a786..eeb0542bd5d85790550113b4f8c0a42f04e589b4 100644 (file)
@@ -880,24 +880,8 @@ enum lu_dirent_attrs {
        LUDA_FID                = 0x0001,
        LUDA_TYPE               = 0x0002,
        LUDA_64BITHASH          = 0x0004,
-
-       /* The following attrs are used for MDT internal only,
-        * not visible to client */
-
-       /* Verify the dirent consistency */
-       LUDA_VERIFY             = 0x8000,
-       /* Only check but not repair the dirent inconsistency */
-       LUDA_VERIFY_DRYRUN      = 0x4000,
-       /* The dirent has been repaired, or to be repaired (dryrun). */
-       LUDA_REPAIR             = 0x2000,
-       /* The system is upgraded, has beed or to be repaired (dryrun). */
-       LUDA_UPGRADE            = 0x1000,
-       /* Ignore this record, go to next directly. */
-       LUDA_IGNORE             = 0x0800,
 };
 
-#define LU_DIRENT_ATTRS_MASK   0xf800
-
 /**
  * Layout of readdir pages, as transmitted on wire.
  */