unionfs on RT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 192308315fdc06659a43d5011d9be76eb2520579
Author: Stephen Hemminger <stephen.hemminger@xxxxxxxxxx>
Date:   Fri Oct 31 14:17:17 2008 -0700

    Fix unionfs on RT
    
    RT changes inode stucture slightly.

diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c
index 5fa4253..6f384e7 100644
--- a/fs/unionfs/super.c
+++ b/fs/unionfs/super.c
@@ -92,7 +92,7 @@ static void unionfs_delete_inode(struct inode *inode)
 	spin_unlock(&inode->i_lock);
 #endif
 
-	if (inode->i_data.nrpages)
+	if (mapping_nrpages(&inode->i_data))
 		truncate_inode_pages(&inode->i_data, 0);
 
 	clear_inode(inode);
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux