[PATCH V2 3/6] Use vfs __set_page_dirty interface instead of doing it inside filesystem

2012-07-27 Thread Sha Zhengju
From: Sha Zhengju Following we will treat SetPageDirty and dirty page accounting as an integrated operation. Filesystems had better use vfs interface directly to avoid those details. Signed-off-by: Sha Zhengju Acked-by: Sage Weil --- fs/buffer.c |3 ++- fs/ceph/addr.c

[PATCH V2 3/6] Use vfs __set_page_dirty interface instead of doing it inside filesystem

2012-07-27 Thread Sha Zhengju
From: Sha Zhengju handai@taobao.com Following we will treat SetPageDirty and dirty page accounting as an integrated operation. Filesystems had better use vfs interface directly to avoid those details. Signed-off-by: Sha Zhengju handai@taobao.com Acked-by: Sage Weil s...@inktank.com ---