Skip to content

Commit

Permalink
Union fs: Fix some compile issues with debug on. Add more test files
Browse files Browse the repository at this point in the history
  • Loading branch information
gregory-nutt committed Jun 6, 2015
1 parent 1c2374a commit 05e6d94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fs/unionfs/fs_unionfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ static off_t unionfs_seek(FAR struct file *filep, off_t offset, int whence)
FAR const struct mountpt_operations *ops;
int ret;

fvdbg("offset: %lu whence: %d\n", (unsigned long)off_t, whence);
fvdbg("offset: %lu whence: %d\n", (unsigned long)offset, whence);

/* Recover the open file data from the struct file instance */

Expand Down Expand Up @@ -1300,8 +1300,6 @@ static int unionfs_readdir(struct inode *mountpt, struct fs_dirent_s *dir)
FAR struct fs_unionfsdir_s *fu;
int ret = -ENOSYS;

fvdbg("Entry\n");

/* Recover the union file system data from the struct inode instance */

DEBUGASSERT(mountpt != NULL && mountpt->i_private != NULL);
Expand All @@ -1316,6 +1314,8 @@ static int unionfs_readdir(struct inode *mountpt, struct fs_dirent_s *dir)
DEBUGASSERT(um != NULL && um->um_node != NULL && um->um_node->u.i_mops != NULL);
ops = um->um_node->u.i_mops;

fvdbg("fu_ndx: %d\n", fu->fu_ndx);

/* Perform the lower level readdir operation */

if (ops->readdir)
Expand Down

0 comments on commit 05e6d94

Please sign in to comment.