Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mds: only open non-regular inode with mode FILE_MODE_PIN
ceph_atomic_open() in kernel client does lookup and open at the same time. So it can open a symlink inode with mode CEPH_FILE_MODE_WR. Open a symlink inode with mode CEPH_FILE_MODE_WR triggers assertion in Locker::check_inode_max_size(); Signed-off-by: Yan, Zheng <zyan@redhat.com> (cherry picked from commit 4d15eb1)
- Loading branch information