+ ecryptfs-file-operations-remove-null-==-syntax.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     ecryptfs: Remove ``NULL =='' syntax

has been added to the -mm tree.  Its filename is

     ecryptfs-file-operations-remove-null-==-syntax.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: ecryptfs: Remove ``NULL =='' syntax
From: Mike Halcrow <mhalcrow@xxxxxxxxxx>


Remove ``NULL =='' syntax; easier on the eyes.

Signed-off-by: Michael Halcrow <mhalcrow@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 fs/ecryptfs/file.c |    2 +-
 fs/ecryptfs/main.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -puN fs/ecryptfs/file.c~ecryptfs-file-operations-remove-null-==-syntax fs/ecryptfs/file.c
--- 25/fs/ecryptfs/file.c~ecryptfs-file-operations-remove-null-==-syntax	Fri May 26 13:48:01 2006
+++ 25-akpm/fs/ecryptfs/file.c	Fri May 26 13:48:01 2006
@@ -371,7 +371,7 @@ ecryptfs_fsync(struct file *file, struct
 	struct file *lower_file = NULL;
 	struct dentry *lower_dentry;
 
-	if (NULL == file) {
+	if (!file) {
 		lower_dentry = ecryptfs_dentry_to_lower(dentry);
 		if (lower_dentry->d_inode->i_fop
 		    && lower_dentry->d_inode->i_fop->fsync) {
diff -puN fs/ecryptfs/main.c~ecryptfs-file-operations-remove-null-==-syntax fs/ecryptfs/main.c
--- 25/fs/ecryptfs/main.c~ecryptfs-file-operations-remove-null-==-syntax	Fri May 26 13:48:01 2006
+++ 25-akpm/fs/ecryptfs/main.c	Fri May 26 13:48:01 2006
@@ -98,7 +98,7 @@ int ecryptfs_interpose(struct dentry *lo
 		rc = -ENOMEM;
 		goto out;
 	}
-	if (NULL == ecryptfs_inode_to_lower(inode))
+	if (!ecryptfs_inode_to_lower(inode))
 		ecryptfs_set_inode_lower(inode, igrab(lower_inode));
 	if (S_ISLNK(lower_inode->i_mode))
 		inode->i_op = &ecryptfs_symlink_iops;
_

Patches currently in -mm which might be from mhalcrow@xxxxxxxxxx are

ecryptfs-fs-makefile-and-fs-kconfig.patch
ecryptfs-documentation.patch
ecryptfs-makefile.patch
ecryptfs-main-module-functions.patch
ecryptfs-main-module-functions-uint16_t-u16.patch
ecryptfs-header-declarations.patch
ecryptfs-header-declarations-update.patch
ecryptfs-header-declarations-update-convert-signed-data-types-to-unsigned-data-types.patch
ecryptfs-header-declarations-remove-unnecessary-ifndefs.patch
ecryptfs-superblock-operations.patch
ecryptfs-dentry-operations.patch
ecryptfs-file-operations.patch
ecryptfs-file-operations-remove-null-==-syntax.patch
ecryptfs-file-operations-remove-extraneous-read-of-inode-size-from-header.patch
ecryptfs-file-operations-fix.patch
ecryptfs-inode-operations.patch
ecryptfs-mmap-operations.patch
mark-address_space_operations-const-vs-ecryptfs-mmap-operations.patch
ecryptfs-keystore.patch
ecryptfs-crypto-functions.patch
ecryptfs-debug-functions.patch
ecryptfs-alpha-build-fix.patch
ecryptfs-convert-assert-to-bug_on.patch
ecryptfs-remove-unnecessary-null-checks.patch
ecryptfs-rewrite-ecryptfs_fsync.patch
ecryptfs-overhaul-file-locking.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux