X-Git-Url: http://git.monstr.eu/?p=linux-2.6-microblaze.git;a=blobdiff_plain;f=mm%2Fmadvise.c;h=56324a3dbc4e98f9cf1283901c95617b03087b4e;hp=5c065bc8b5f6c13fcf5296a47c63fdb53f3d7ecc;hb=aa99f3c2b9c797d8fee28c674a2cbb5adb2ce2ef;hpb=76c9e465dd529cfe1e49ed975563fa0c44aa2bdc diff --git a/mm/madvise.c b/mm/madvise.c index 5c065bc8b5f6..56324a3dbc4e 100644 --- a/mm/madvise.c +++ b/mm/madvise.c @@ -912,7 +912,7 @@ static long madvise_remove(struct vm_area_struct *vma, + ((loff_t)vma->vm_pgoff << PAGE_SHIFT); /* - * Filesystem's fallocate may need to take i_mutex. We need to + * Filesystem's fallocate may need to take i_rwsem. We need to * explicitly grab a reference because the vma (and hence the * vma's reference to the file) can go away as soon as we drop * mmap_lock.