kNFSd - 2 of 6 - Set d_op when creating a parent directory during nfsd fh->dentry conversion
Subsystems (2)
PATCH 1/1 kNFSd - 2 of 6 - Set d_op when creating a parent directory during nfsd fh->dentry conversion
### Comments for ChangeSet
While it is not necessarily safe to assume the parent has the same d_op as the child, it is safe than assuming the parent has a d_op of NULL.
----------- Diffstat output ------------
./fs/nfsd/nfsfh.c | 1 + 1 files changed, 1 insertion(+)
fs/nfsd/nfsfh.c renamed from fs/nfsd/nfsfh.c~current~ +1 -0
@@ -305,6 +305,7 @@ struct dentry *nfsd_findparent(struct deif (pdentry) {igrab (tdentry->d_inode); pdentry->d_flags |=DCACHE_NFSD_DISCONNECTED ; + pdentry->d_op = child->d_op; } }if (pdentry ==NULL )
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs