Remove ``NULL =='' syntax; easier on the eyes.
Signed-off-by: Michael Halcrow <[email protected]>
---
fs/ecryptfs/file.c | 2 +-
fs/ecryptfs/main.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
c6a4cc09586f339bd97330efcd388c92100a6780
diff --git a/fs/ecryptfs/file.c b/fs/ecryptfs/file.c
index ef7d7fa..0284e16 100644
--- a/fs/ecryptfs/file.c
+++ b/fs/ecryptfs/file.c
@@ -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 --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c
index 9376482..5cbc948 100644
--- a/fs/ecryptfs/main.c
+++ b/fs/ecryptfs/main.c
@@ -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;
--
1.3.3
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]