aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/xen/xenfs/super.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/xen/xenfs/super.c b/drivers/xen/xenfs/super.c
index 23f1cca5a2e9..afaa6ede0168 100644
--- a/drivers/xen/xenfs/super.c
+++ b/drivers/xen/xenfs/super.c
@@ -26,9 +26,7 @@ MODULE_LICENSE("GPL");
26 26
27static int xenfs_set_page_dirty(struct page *page) 27static int xenfs_set_page_dirty(struct page *page)
28{ 28{
29 if (!PageDirty(page)) 29 return !TestSetPageDirty(page);
30 SetPageDirty(page);
31 return 0;
32} 30}
33 31
34static const struct address_space_operations xenfs_aops = { 32static const struct address_space_operations xenfs_aops = {