]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: CHECK_READ_IOCTL macro reformatting
authorRalph Boehme <slow@samba.org>
Wed, 1 Apr 2020 13:08:50 +0000 (15:08 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 3 Apr 2020 19:05:42 +0000 (19:05 +0000)
A subsequent commit will replace can_read with something much longer.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/include/smb_macros.h

index 224b64e2372dd6b4c3db75408ef9379843ed1624..7a6d30ebc79fff5fbccc0f21c8fc0de99cf8a75a 100644 (file)
@@ -73,7 +73,9 @@
  * ). On Windows servers, this is done by the IO manager, which is unaware of
  * the "if execute is granted then also grant read" arrangement.
  */
-#define CHECK_READ_IOCTL(fsp) (((fsp)->fh->fd != -1) && ((fsp)->can_read))
+#define CHECK_READ_IOCTL(fsp) \
+       (((fsp)->fh->fd != -1) && \
+        ((fsp)->can_read))
 
 #define CHECK_WRITE(fsp) ((fsp)->can_write && ((fsp)->fh->fd != -1))