commit | 1644ccc8a99ae73859c39372f96afdbf03c9f80d | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Apr 18 02:32:31 2009 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Apr 20 23:01:15 2009 -0400 |
tree | 27b568d2fcc00738a505fd562d7fa4728aa43d7f | |
parent | e5d67f0715bc60f6c19abdd86d007d7bb29c9951 [diff] |
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 <viro@zeniv.linux.org.uk>