Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35f8c1c3 authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge
Browse files

xen/xenfs: set_page_dirty is supposed to return true if it dirties



I don't think it matters at all in this case (there's only one caller
which checks the return value), but may as well be strictly correct.

[ Impact: cleanup ]

Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
parent 24a89b5b
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -26,9 +26,7 @@ MODULE_LICENSE("GPL");


static int xenfs_set_page_dirty(struct page *page)
static int xenfs_set_page_dirty(struct page *page)
{
{
	if (!PageDirty(page))
	return !TestSetPageDirty(page);
		SetPageDirty(page);
	return 0;
}
}


static const struct address_space_operations xenfs_aops = {
static const struct address_space_operations xenfs_aops = {