linux-hardened/fs/smbfs
Christoph Hellwig be9eee2e8b smbfs: use dget_parent
Use dget_parent instead of opencoding it.  This simplifies the code, but
more importanly prepares for the more complicated locking for a parent
dget in the dcache scale patch series.

Note that the d_time assignment in smb_renew_times moves out of d_lock,
but it's a single atomic 32-bit value, and that's what other sites
setting it do already.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2010-10-25 21:26:14 -04:00
..
cache.c remove unused #include <linux/dirent.h>'s 2008-07-25 10:53:34 -07:00
dir.c smbfs: use dget_parent 2010-10-25 21:26:14 -04:00
file.c drop unused dentry argument to ->fsync 2010-05-27 22:05:02 -04:00
getopt.c
getopt.h
inode.c smbfs never retains inodes with zero refcount in the first place 2010-10-25 21:23:01 -04:00
ioctl.c smbfs: Push down BKL into ioctl function 2010-05-17 05:27:04 +02:00
Kconfig BKL: introduce CONFIG_BKL. 2010-10-21 15:44:13 +02:00
Makefile FS: Remove dead code 2008-01-28 23:14:37 +01:00
proc.c smbfs: use dget_parent 2010-10-25 21:26:14 -04:00
proto.h smbfs: Push down BKL into ioctl function 2010-05-17 05:27:04 +02:00
request.c Remove commented-out code copied from NFS 2007-12-06 17:40:31 -05:00
request.h
smb_debug.h fs: replace remaining __FUNCTION__ occurrences 2008-04-30 08:29:54 -07:00
smbiod.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
sock.c smbfs: fix calculation of kernel_recvmsg size parameter in smb_receive() 2008-02-06 10:41:02 -08:00
symlink.c smbfs: remove duplicated #include 2010-05-25 08:07:07 -07:00