diff options
author | Sage Weil <sage@newdream.net> | 2012-01-03 17:20:40 +0100 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2012-01-10 17:57:00 +0100 |
commit | ee6b1baf67591b6d7ce1a6a07544343433d5ec9e (patch) | |
tree | 8aac5a6a2172d84d4188fe97bf3fe84aa558dc75 /fs/ceph/mdsmap.c | |
parent | ceph: dereference pointer after checking for NULL (diff) | |
download | linux-ee6b1baf67591b6d7ce1a6a07544343433d5ec9e.tar.xz linux-ee6b1baf67591b6d7ce1a6a07544343433d5ec9e.zip |
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>
Diffstat (limited to 'fs/ceph/mdsmap.c')
0 files changed, 0 insertions, 0 deletions