commit | ee6b1baf67591b6d7ce1a6a07544343433d5ec9e | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Tue Jan 03 08:20:40 2012 -0800 |
committer | Sage Weil <sage@newdream.net> | Tue Jan 10 08:57:00 2012 -0800 |
tree | 8aac5a6a2172d84d4188fe97bf3fe84aa558dc75 | |
parent | b8cd952b51034ad9f20ca147507ee68dc641c98c [diff] |
ceph: avoid useless dget/dput in encode_fh Nothing we do here sleeps, so just do it under d_lock and avoid the dget/ dput entirely. Reported-by: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: Sage Weil <sage@newdream.net>