Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101910
b: refs/heads/master
c: cc0dd2d
h: refs/heads/master
v: v3
  • Loading branch information
Chuck Lever authored and Trond Myklebust committed Jul 9, 2008
1 parent c1841d5 commit daaae8a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b84e06c58fdefdc42931f771dc295e63f4b27365
refs/heads/master: cc0dd2d1052aede2946ad1338a8f6f5d5c604740
7 changes: 5 additions & 2 deletions trunk/fs/nfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,11 @@ nfs_opendir(struct inode *inode, struct file *filp)
{
int res;

dfprintk(VFS, "NFS: opendir(%s/%ld)\n",
inode->i_sb->s_id, inode->i_ino);
dfprintk(VFS, "NFS: open dir(%s/%s)\n",
filp->f_path.dentry->d_parent->d_name.name,
filp->f_path.dentry->d_name.name);

nfs_inc_stats(inode, NFSIOS_VFSOPEN);

lock_kernel();
/* Call generic open code in order to cache credentials */
Expand Down
4 changes: 4 additions & 0 deletions trunk/fs/nfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ nfs_file_open(struct inode *inode, struct file *filp)
{
int res;

dfprintk(VFS, "NFS: open file(%s/%s)\n",
filp->f_path.dentry->d_parent->d_name.name,
filp->f_path.dentry->d_name.name);

res = nfs_check_flags(filp->f_flags);
if (res)
return res;
Expand Down

0 comments on commit daaae8a

Please sign in to comment.