ceph: simplify 'offset in frag'
authorYan, Zheng <zyan@redhat.com>
Wed, 27 Apr 2016 09:32:34 +0000 (17:32 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 25 May 2016 23:15:34 +0000 (01:15 +0200)
commita78600e7c4fb47fb5ef34265456b731fde27a9c3
tree724fcddad82738b0ffefc4f29740e9ea69ed0de2
parent1cd42a429174689c0df1c37b642654a1ab4d1506
ceph: simplify 'offset in frag'

don't distinguish leftmost frag from other frags. always use 2 as
first entry's offset.

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