summaryrefslogtreecommitdiffstats
path: root/fs/9p/Makefile
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2011-07-26 11:30:15 -0700
committerSage Weil <sage@newdream.net>2011-07-26 11:30:15 -0700
commit48d0cbd1242aac969560ef8b90f26ee3b09a6a5c (patch)
tree228a26f8ee7d555d67c6a00e5346f3b558a2e48c /fs/9p/Makefile
parentdfabbed6fdd509dc2beb89c954bc36014a1bc7cb (diff)
downloadop-kernel-dev-48d0cbd1242aac969560ef8b90f26ee3b09a6a5c.zip
op-kernel-dev-48d0cbd1242aac969560ef8b90f26ee3b09a6a5c.tar.gz
ceph: handle racing calls to ceph_init_dentry
The ->lookup() and prepopulate_readdir() callers are working with unhashed dentries, so we don't have to worry. The export.c callers, though, need to initialize something they got back from d_obtain_alias() and are potentially racing with other callers. Make sure we don't return unless the dentry is properly initialized (by us or someone else). Reported-by: Al Viro <viro@ZenIV.linux.org.uk> Reviewed-by: Yehuda Sadeh <yehuda@hq.newdream.net> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/9p/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud