* [lustre-devel] [PATCH] lustre/staging: remove unused MAY_ constants
@ 2015-07-10 15:09 Ben Evans
2015-07-10 15:11 ` Patrick Farrell
0 siblings, 1 reply; 2+ messages in thread
From: Ben Evans @ 2015-07-10 15:09 UTC (permalink / raw)
To: lustre-devel
Remove unused MAY_ constants from lustre_idl.h
Intel-bug-ID: http://jira.httpd.intel.com/browse/LU-6450
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Signed-off-by: Ben Evans <bevans@cray.com>
---
.../lustre/lustre/include/lustre/lustre_idl.h | 24 ++++++++-----------
1 files changed, 10 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
index bea70cb..be1cbae 100644
--- a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
+++ b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
@@ -2366,20 +2366,16 @@ extern void lustre_swab_mdt_rec_setattr (struct mdt_rec_setattr *sa);
*/
#define MDS_OPEN_RELEASE 02000000000000ULL /* Open the file for HSM release */
-/* permission for create non-directory file */
-#define MAY_CREATE (1 << 7)
-/* permission for create directory file */
-#define MAY_LINK (1 << 8)
-/* permission for delete from the directory */
-#define MAY_UNLINK (1 << 9)
-/* source's permission for rename */
-#define MAY_RENAME_SRC (1 << 10)
-/* target's permission for rename */
-#define MAY_RENAME_TAR (1 << 11)
-/* part (parent's) VTX permission check */
-#define MAY_VTX_PART (1 << 12)
-/* full VTX permission check */
-#define MAY_VTX_FULL (1 << 13)
+/*
+#define UNUSED_MAY_CREATE (1 << 7) create non-directory file
+#define UNUSED_MAY_LINK (1 << 8) create directory file
+#define UNUSED_MAY_UNLINK (1 << 9) delete from the directory
+#define UNUSED_MAY_RENAME_SRC (1 << 10) source's rename
+#define UNUSED_MAY_RENAME_TAR (1 << 11) target's rename
+#define UNUSED_MAY_VTX_PART (1 << 12) part (parent's) VTX check
+#define UNUSED_MAY_VTX_FULL (1 << 13) full VTX check
+*/
+
/* lfs rgetfacl permission check */
#define MAY_RGETFACL (1 << 14)
--
1.6.5.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [lustre-devel] [PATCH] lustre/staging: remove unused MAY_ constants
2015-07-10 15:09 [lustre-devel] [PATCH] lustre/staging: remove unused MAY_ constants Ben Evans
@ 2015-07-10 15:11 ` Patrick Farrell
0 siblings, 0 replies; 2+ messages in thread
From: Patrick Farrell @ 2015-07-10 15:11 UTC (permalink / raw)
To: lustre-devel
Typo in the bug-ID URL. httpd instead of hpdd.
On 07/10/2015 10:09 AM, Ben Evans wrote:
> Remove unused MAY_ constants from lustre_idl.h
>
> Intel-bug-ID: http://jira.httpd.intel.com/browse/LU-6450
> Reviewed-by: James Simmons <uja.ornl@gmail.com>
> Signed-off-by: Ben Evans <bevans@cray.com>
> ---
> .../lustre/lustre/include/lustre/lustre_idl.h | 24 ++++++++-----------
> 1 files changed, 10 insertions(+), 14 deletions(-)
>
> diff --git a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
> index bea70cb..be1cbae 100644
> --- a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
> +++ b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
> @@ -2366,20 +2366,16 @@ extern void lustre_swab_mdt_rec_setattr (struct mdt_rec_setattr *sa);
> */
> #define MDS_OPEN_RELEASE 02000000000000ULL /* Open the file for HSM release */
>
> -/* permission for create non-directory file */
> -#define MAY_CREATE (1 << 7)
> -/* permission for create directory file */
> -#define MAY_LINK (1 << 8)
> -/* permission for delete from the directory */
> -#define MAY_UNLINK (1 << 9)
> -/* source's permission for rename */
> -#define MAY_RENAME_SRC (1 << 10)
> -/* target's permission for rename */
> -#define MAY_RENAME_TAR (1 << 11)
> -/* part (parent's) VTX permission check */
> -#define MAY_VTX_PART (1 << 12)
> -/* full VTX permission check */
> -#define MAY_VTX_FULL (1 << 13)
> +/*
> +#define UNUSED_MAY_CREATE (1 << 7) create non-directory file
> +#define UNUSED_MAY_LINK (1 << 8) create directory file
> +#define UNUSED_MAY_UNLINK (1 << 9) delete from the directory
> +#define UNUSED_MAY_RENAME_SRC (1 << 10) source's rename
> +#define UNUSED_MAY_RENAME_TAR (1 << 11) target's rename
> +#define UNUSED_MAY_VTX_PART (1 << 12) part (parent's) VTX check
> +#define UNUSED_MAY_VTX_FULL (1 << 13) full VTX check
> +*/
> +
> /* lfs rgetfacl permission check */
> #define MAY_RGETFACL (1 << 14)
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-10 15:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-10 15:09 [lustre-devel] [PATCH] lustre/staging: remove unused MAY_ constants Ben Evans
2015-07-10 15:11 ` Patrick Farrell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.