]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: tolerate bad i_size for symlink inode
authorYan, Zheng <zyan@redhat.com>
Thu, 5 May 2016 08:40:17 +0000 (16:40 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 25 May 2016 23:15:38 +0000 (01:15 +0200)
commita5c8f9247b887a32257a6493ad9eafbd1af943c4
tree71875474331a7743a051bfb273d419982d0b3741
parente4e0af1f4a59dc1b6d7667bc80d4d4022a4c6feb
ceph: tolerate bad i_size for symlink inode

A mds bug can cause symlink's size to be truncated to zero.

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