Commit 3bafeab7 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

Staging: pohmelfs: Remove C99 comments

Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Cc: Evgeniy Polyakov <zbr@ioremap.net>
parent 385e3f1a
...@@ -562,7 +562,7 @@ struct dentry *pohmelfs_lookup(struct inode *dir, struct dentry *dentry, struct ...@@ -562,7 +562,7 @@ struct dentry *pohmelfs_lookup(struct inode *dir, struct dentry *dentry, struct
if (!inode) { if (!inode) {
dprintk("%s: No inode for ino: %lu, name: '%s', hash: %x.\n", dprintk("%s: No inode for ino: %lu, name: '%s', hash: %x.\n",
__func__, ino, str.name, str.hash); __func__, ino, str.name, str.hash);
//return NULL; /* return NULL; */
return ERR_PTR(-EACCES); return ERR_PTR(-EACCES);
} }
} else { } else {
......
...@@ -386,7 +386,7 @@ static int pohmelfs_write_inode_create_children(struct inode *inode) ...@@ -386,7 +386,7 @@ static int pohmelfs_write_inode_create_children(struct inode *inode)
if (inode && (inode->i_state & I_DIRTY)) { if (inode && (inode->i_state & I_DIRTY)) {
struct pohmelfs_inode *pi = POHMELFS_I(inode); struct pohmelfs_inode *pi = POHMELFS_I(inode);
pohmelfs_write_create_inode(pi); pohmelfs_write_create_inode(pi);
//pohmelfs_meta_command(pi, NETFS_INODE_INFO, 0, NULL, NULL, 0); /* pohmelfs_meta_command(pi, NETFS_INODE_INFO, 0, NULL, NULL, 0); */
iput(inode); iput(inode);
} }
} }
...@@ -845,7 +845,7 @@ static void pohmelfs_destroy_inode(struct inode *inode) ...@@ -845,7 +845,7 @@ static void pohmelfs_destroy_inode(struct inode *inode)
struct pohmelfs_sb *psb = POHMELFS_SB(sb); struct pohmelfs_sb *psb = POHMELFS_SB(sb);
struct pohmelfs_inode *pi = POHMELFS_I(inode); struct pohmelfs_inode *pi = POHMELFS_I(inode);
//pohmelfs_data_unlock(pi, 0, inode->i_size, POHMELFS_READ_LOCK); /* pohmelfs_data_unlock(pi, 0, inode->i_size, POHMELFS_READ_LOCK); */
pohmelfs_inode_del_inode(psb, pi); pohmelfs_inode_del_inode(psb, pi);
...@@ -1777,7 +1777,7 @@ static int pohmelfs_show_stats(struct seq_file *m, struct vfsmount *mnt) ...@@ -1777,7 +1777,7 @@ static int pohmelfs_show_stats(struct seq_file *m, struct vfsmount *mnt)
seq_printf(m, "%u ", ctl->idx); seq_printf(m, "%u ", ctl->idx);
if (ctl->addr.sa_family == AF_INET) { if (ctl->addr.sa_family == AF_INET) {
struct sockaddr_in *sin = (struct sockaddr_in *)&st->ctl.addr; struct sockaddr_in *sin = (struct sockaddr_in *)&st->ctl.addr;
//seq_printf(m, "%pi4:%u", &sin->sin_addr.s_addr, ntohs(sin->sin_port)); /* seq_printf(m, "%pi4:%u", &sin->sin_addr.s_addr, ntohs(sin->sin_port)); */
seq_printf(m, "%u.%u.%u.%u:%u", NIPQUAD(sin->sin_addr.s_addr), ntohs(sin->sin_port)); seq_printf(m, "%u.%u.%u.%u:%u", NIPQUAD(sin->sin_addr.s_addr), ntohs(sin->sin_port));
} else if (ctl->addr.sa_family == AF_INET6) { } else if (ctl->addr.sa_family == AF_INET6) {
struct sockaddr_in6 *sin = (struct sockaddr_in6 *)&st->ctl.addr; struct sockaddr_in6 *sin = (struct sockaddr_in6 *)&st->ctl.addr;
......
...@@ -844,7 +844,7 @@ static inline int pohmelfs_need_lock(struct pohmelfs_inode *pi, int type) ...@@ -844,7 +844,7 @@ static inline int pohmelfs_need_lock(struct pohmelfs_inode *pi, int type)
int __init pohmelfs_mcache_init(void); int __init pohmelfs_mcache_init(void);
void pohmelfs_mcache_exit(void); void pohmelfs_mcache_exit(void);
//#define CONFIG_POHMELFS_DEBUG /* #define CONFIG_POHMELFS_DEBUG */
#ifdef CONFIG_POHMELFS_DEBUG #ifdef CONFIG_POHMELFS_DEBUG
#define dprintka(f, a...) printk(f, ##a) #define dprintka(f, a...) printk(f, ##a)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment