ceph: fix dir_auth check in ceph_fill_dirfrag()
authorYan, Zheng <zyan@redhat.com>
Tue, 3 May 2016 14:33:20 +0000 (22:33 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 25 May 2016 23:15:37 +0000 (01:15 +0200)
commit421721195a68f46a8218c664154076b5b06f5f51
tree199ad5827b30dbe81d4d8294facf531358e3f2e3
parenta407846ef7c6e7905ab0d1ebc0c86fbebb065b87
ceph: fix dir_auth check in ceph_fill_dirfrag()

-1 is CDIR_AUTH_PARENT, it means dir's auth mds is the same as
inode's auth mds

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/inode.c