[PATCH] ceph: avoid meaningless calling ceph_caps_revoking if sync_mode == WB_SYNC_ALL.

2013-06-19 Thread majianpeng
Signed-off-by: Jianpeng Ma --- fs/ceph/addr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c index 3e68ac1..25fa8b8 100644 --- a/fs/ceph/addr.c +++ b/fs/ceph/addr.c @@ -677,8 +677,8 @@ static int ceph_writepages_start(struct address_space

Re: [PATCH] ceph: avoid meaningless calling ceph_caps_revoking if sync_mode == WB_SYNC_ALL.

2013-06-19 Thread Sage Weil
Applied, thanks! sage On Wed, 19 Jun 2013, majianpeng wrote: > Signed-off-by: Jianpeng Ma > --- > fs/ceph/addr.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c > index 3e68ac1..25fa8b8 100644 > --- a/fs/ceph/addr.c > +++ b/fs/ceph/