diff options
author | Steve French <sfrench@us.ibm.com> | 2008-02-12 15:32:36 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-02-12 15:32:36 -0500 |
commit | 90c81e0b0eda214196cbe4340facbce8cc797ee7 (patch) | |
tree | a516944067e6437a88705a3d96157d07de3dae51 /fs/cifs/inode.c | |
parent | ad7a2926b9e53cfb3020d15bdfacacc54e2b63da (diff) |
[CIFS] clean up some hard to read ifdefs
Christoph had noticed too many ifdefs in the CIFS code making it
hard to read. This patch removes about a quarter of them from
the C files in cifs by improving a few key ifdefs in the .h files.
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r-- | fs/cifs/inode.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index ec26c6aa6421..6020add15156 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c | |||
@@ -837,9 +837,7 @@ static void posix_fill_in_inode(struct inode *tmp_inode, | |||
837 | cFYI(1, ("unknown inode type %d", type)); | 837 | cFYI(1, ("unknown inode type %d", type)); |
838 | } | 838 | } |
839 | 839 | ||
840 | #ifdef CONFIG_CIFS_DEBUG2 | 840 | cFYI(DBG2, ("object type: %d", type)); |
841 | cFYI(1, ("object type: %d", type)); | ||
842 | #endif | ||
843 | tmp_inode->i_uid = le64_to_cpu(pData->Uid); | 841 | tmp_inode->i_uid = le64_to_cpu(pData->Uid); |
844 | tmp_inode->i_gid = le64_to_cpu(pData->Gid); | 842 | tmp_inode->i_gid = le64_to_cpu(pData->Gid); |
845 | tmp_inode->i_nlink = le64_to_cpu(pData->Nlinks); | 843 | tmp_inode->i_nlink = le64_to_cpu(pData->Nlinks); |