lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 1 Jan 2008 15:46:44 +0200
From:	Adrian Bunk <bunk@...nel.org>
To:	sfrench@...ba.org
Cc:	linux-cifs-client@...ts.samba.org, linux-kernel@...r.kernel.org
Subject: [2.6 patch] CIFS: #if 0 mode_to_access_flags()

This patch #if 0's the unused mode_to_access_flags(), fixing the 
following compile warning:

<--  snip  -->

...
  CC      fs/cifs/cifsacl.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/fs/cifs/cifsacl.c:200: warning: ‘mode_to_access_flags’ defined but not used
...

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@...nel.org>

---

 fs/cifs/cifsacl.c |    2 ++
 1 file changed, 2 insertions(+)

0cf530f754b974ee5e58b3346828bb5586440c92 
diff --git a/fs/cifs/cifsacl.c b/fs/cifs/cifsacl.c
index c312adc..771a22f 100644
--- a/fs/cifs/cifsacl.c
+++ b/fs/cifs/cifsacl.c
@@ -189,6 +189,7 @@ static void access_flags_to_mode(__le32 ace_flags, int type, umode_t *pmode,
 	return;
 }
 
+#if 0
 /*
    Generate access flags to reflect permissions mode is the existing mode.
    This function is called for every ACE in the DACL whose SID matches
@@ -219,6 +220,7 @@ static void mode_to_access_flags(umode_t mode, umode_t bits_to_use,
 #endif
 	return;
 }
+#endif  /*  0  */
 
 
 #ifdef CONFIG_CIFS_DEBUG2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ