The patch titled struct path: convert smbfs has been added to the -mm tree. Its filename is struct-path-convert-smbfs.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: struct path: convert smbfs From: Josef Sipek <jsipek@xxxxxxxxxxxxxxxxx> Signed-off-by: Josef Sipek <jsipek@xxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/smbfs/cache.c | 2 +- fs/smbfs/dir.c | 6 +++--- fs/smbfs/file.c | 14 +++++++------- fs/smbfs/proc.c | 10 +++++----- fs/smbfs/sock.c | 4 ++-- 5 files changed, 18 insertions(+), 18 deletions(-) diff -puN fs/smbfs/cache.c~struct-path-convert-smbfs fs/smbfs/cache.c --- a/fs/smbfs/cache.c~struct-path-convert-smbfs +++ a/fs/smbfs/cache.c @@ -125,7 +125,7 @@ smb_fill_cache(struct file *filp, void * struct smb_cache_control *ctrl, struct qstr *qname, struct smb_fattr *entry) { - struct dentry *newdent, *dentry = filp->f_dentry; + struct dentry *newdent, *dentry = filp->f_path.dentry; struct inode *newino, *inode = dentry->d_inode; struct smb_cache_control ctl = *ctrl; int valid = 0; diff -puN fs/smbfs/dir.c~struct-path-convert-smbfs fs/smbfs/dir.c --- a/fs/smbfs/dir.c~struct-path-convert-smbfs +++ a/fs/smbfs/dir.c @@ -78,7 +78,7 @@ struct inode_operations smb_dir_inode_op static int smb_readdir(struct file *filp, void *dirent, filldir_t filldir) { - struct dentry *dentry = filp->f_dentry; + struct dentry *dentry = filp->f_path.dentry; struct inode *dir = dentry->d_inode; struct smb_sb_info *server = server_from_dentry(dentry); union smb_dir_cache *cache = NULL; @@ -238,12 +238,12 @@ out: static int smb_dir_open(struct inode *dir, struct file *file) { - struct dentry *dentry = file->f_dentry; + struct dentry *dentry = file->f_path.dentry; struct smb_sb_info *server; int error = 0; VERBOSE("(%s/%s)\n", dentry->d_parent->d_name.name, - file->f_dentry->d_name.name); + file->f_path.dentry->d_name.name); /* * Directory timestamps in the core protocol aren't updated diff -puN fs/smbfs/file.c~struct-path-convert-smbfs fs/smbfs/file.c --- a/fs/smbfs/file.c~struct-path-convert-smbfs +++ a/fs/smbfs/file.c @@ -102,7 +102,7 @@ static int smb_readpage(struct file *file, struct page *page) { int error; - struct dentry *dentry = file->f_dentry; + struct dentry *dentry = file->f_path.dentry; page_cache_get(page); error = smb_readpage_sync(dentry, page); @@ -205,7 +205,7 @@ static int smb_updatepage(struct file *file, struct page *page, unsigned long offset, unsigned int count) { - struct dentry *dentry = file->f_dentry; + struct dentry *dentry = file->f_path.dentry; DEBUG1("(%s/%s %d@%lld)\n", DENTRY_PATH(dentry), count, ((unsigned long long)page->index << PAGE_CACHE_SHIFT) + offset); @@ -218,7 +218,7 @@ smb_file_aio_read(struct kiocb *iocb, co unsigned long nr_segs, loff_t pos) { struct file * file = iocb->ki_filp; - struct dentry * dentry = file->f_dentry; + struct dentry * dentry = file->f_path.dentry; ssize_t status; VERBOSE("file %s/%s, count=%lu@%lu\n", DENTRY_PATH(dentry), @@ -243,7 +243,7 @@ out: static int smb_file_mmap(struct file * file, struct vm_area_struct * vma) { - struct dentry * dentry = file->f_dentry; + struct dentry * dentry = file->f_path.dentry; int status; VERBOSE("file %s/%s, address %lu - %lu\n", @@ -264,7 +264,7 @@ static ssize_t smb_file_sendfile(struct file *file, loff_t *ppos, size_t count, read_actor_t actor, void *target) { - struct dentry *dentry = file->f_dentry; + struct dentry *dentry = file->f_path.dentry; ssize_t status; VERBOSE("file %s/%s, pos=%Ld, count=%d\n", @@ -332,7 +332,7 @@ smb_file_aio_write(struct kiocb *iocb, c unsigned long nr_segs, loff_t pos) { struct file * file = iocb->ki_filp; - struct dentry * dentry = file->f_dentry; + struct dentry * dentry = file->f_path.dentry; ssize_t result; VERBOSE("file %s/%s, count=%lu@%lu\n", @@ -364,7 +364,7 @@ static int smb_file_open(struct inode *inode, struct file * file) { int result; - struct dentry *dentry = file->f_dentry; + struct dentry *dentry = file->f_path.dentry; int smb_mode = (file->f_mode & O_ACCMODE) - 1; lock_kernel(); diff -puN fs/smbfs/proc.c~struct-path-convert-smbfs fs/smbfs/proc.c --- a/fs/smbfs/proc.c~struct-path-convert-smbfs +++ a/fs/smbfs/proc.c @@ -873,7 +873,7 @@ smb_newconn(struct smb_sb_info *server, filp = fget(opt->fd); if (!filp) goto out; - if (!smb_valid_socket(filp->f_dentry->d_inode)) + if (!smb_valid_socket(filp->f_path.dentry->d_inode)) goto out_putf; server->sock_file = filp; @@ -898,7 +898,7 @@ smb_newconn(struct smb_sb_info *server, /* * Store the server in sock user_data (Only used by sunrpc) */ - sk = SOCKET_I(filp->f_dentry->d_inode)->sk; + sk = SOCKET_I(filp->f_path.dentry->d_inode)->sk; sk->sk_user_data = server; /* chain into the data_ready callback */ @@ -1939,7 +1939,7 @@ static int smb_proc_readdir_short(struct file *filp, void *dirent, filldir_t filldir, struct smb_cache_control *ctl) { - struct dentry *dir = filp->f_dentry; + struct dentry *dir = filp->f_path.dentry; struct smb_sb_info *server = server_from_dentry(dir); struct qstr qname; struct smb_fattr fattr; @@ -2291,7 +2291,7 @@ static int smb_proc_readdir_long(struct file *filp, void *dirent, filldir_t filldir, struct smb_cache_control *ctl) { - struct dentry *dir = filp->f_dentry; + struct dentry *dir = filp->f_path.dentry; struct smb_sb_info *server = server_from_dentry(dir); struct qstr qname; struct smb_fattr fattr; @@ -2859,7 +2859,7 @@ static int smb_proc_readdir_null(struct file *filp, void *dirent, filldir_t filldir, struct smb_cache_control *ctl) { - struct smb_sb_info *server = server_from_dentry(filp->f_dentry); + struct smb_sb_info *server = server_from_dentry(filp->f_path.dentry); if (smb_proc_ops_wait(server) < 0) return -EIO; diff -puN fs/smbfs/sock.c~struct-path-convert-smbfs fs/smbfs/sock.c --- a/fs/smbfs/sock.c~struct-path-convert-smbfs +++ a/fs/smbfs/sock.c @@ -82,10 +82,10 @@ server_sock(struct smb_sb_info *server) if (server && (file = server->sock_file)) { #ifdef SMBFS_PARANOIA - if (!smb_valid_socket(file->f_dentry->d_inode)) + if (!smb_valid_socket(file->f_path.dentry->d_inode)) PARANOIA("bad socket!\n"); #endif - return SOCKET_I(file->f_dentry->d_inode); + return SOCKET_I(file->f_path.dentry->d_inode); } return NULL; } _ Patches currently in -mm which might be from jsipek@xxxxxxxxxxxxxxxxx are struct-path-convert-adfs.patch struct-path-convert-afs.patch struct-path-convert-alpha.patch struct-path-convert-atm.patch struct-path-convert-befs.patch struct-path-convert-bfs.patch struct-path-convert-block.patch struct-path-convert-block_drivers.patch struct-path-convert-char-drivers.patch struct-path-convert-coda.patch struct-path-convert-cosa.patch struct-path-convert-cramfs.patch struct-path-convert-cris.patch struct-path-convert-drm.patch struct-path-convert-efs.patch struct-path-convert-freevxfs.patch struct-path-convert-frv.patch struct-path-convert-fuse.patch struct-path-convert-gfs2.patch struct-path-convert-hfs.patch struct-path-convert-hfsplus.patch struct-path-convert-hostfs.patch struct-path-convert-hpfs.patch struct-path-convert-hppfs.patch struct-path-convert-hugetlbfs.patch struct-path-convert-i2c-drivers.patch struct-path-convert-ia64.patch struct-path-convert-ieee1394.patch struct-path-convert-infiniband.patch struct-path-convert-ipc.patch struct-path-convert-ipmi.patch struct-path-convert-isapnp.patch struct-path-convert-isdn.patch struct-path-convert-ixj.patch struct-path-convert-jffs.patch struct-path-convert-jffs2.patch struct-path-convert-jfs.patch struct-path-convert-kernel.patch struct-path-convert-lockd.patch struct-path-convert-md.patch struct-path-convert-minix.patch struct-path-convert-mips.patch struct-path-convert-mm.patch struct-path-convert-nbd.patch struct-path-convert-ncpfs.patch struct-path-convert-net.patch struct-path-convert-netfilter.patch struct-path-convert-netlink.patch struct-path-convert-ocfs2.patch struct-path-convert-openpromfs.patch struct-path-convert-oprofile.patch struct-path-convert-parisc.patch struct-path-convert-pci.patch struct-path-convert-pcmcia.patch struct-path-convert-powerpc.patch struct-path-convert-ppc.patch struct-path-convert-qnx4.patch struct-path-convert-ramfs.patch struct-path-convert-reiserfs.patch struct-path-convert-romfs.patch struct-path-convert-s390-drivers.patch struct-path-convert-s390.patch struct-path-convert-sbus.patch struct-path-convert-scsi.patch struct-path-convert-selinux.patch struct-path-convert-sh.patch struct-path-convert-smbfs.patch struct-path-convert-sound.patch struct-path-convert-sparc.patch struct-path-convert-sparc64.patch struct-path-convert-splice.patch struct-path-convert-sunrpc.patch struct-path-convert-sysv.patch struct-path-convert-udf.patch struct-path-convert-ufs.patch struct-path-convert-unix.patch struct-path-convert-usb.patch struct-path-convert-v4l.patch struct-path-convert-video.patch struct-path-convert-zorro.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html