From: Al Viro Date: Sat, 18 Apr 2009 06:32:31 +0000 (-0400) Subject: Safer nfsd_cross_mnt() X-Git-Tag: v2.6.30-rc3~35^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1644ccc8a99ae73859c39372f96afdbf03c9f80d;p=pandora-kernel.git Safer nfsd_cross_mnt() AFAICS, we have a subtle bug there: if we have crossed mountpoint *and* it got mount --move'd away, we'll be holding only one reference to fs containing dentry - exp->ex_path.mnt. IOW, we ought to dput() before exp_put(). Signed-off-by: Al Viro --- Reading git-diff-tree failed