inode.c (f1615bbe9be4def59c3b3eaddb60722efeed16c2) | inode.c (743162013d40ca612b4cb53d3a200dff2d9ab26e) |
---|---|
1/* 2 * (C) 1997 Linus Torvalds 3 * (C) 1999 Andrea Arcangeli <andrea@suse.de> (dynamic inode allocation) 4 */ 5#include <linux/export.h> 6#include <linux/fs.h> 7#include <linux/mm.h> 8#include <linux/backing-dev.h> --- 1681 unchanged lines hidden (view full) --- 1690 if (IS_SYNC(inode)) 1691 return 1; 1692 if (S_ISDIR(inode->i_mode) && IS_DIRSYNC(inode)) 1693 return 1; 1694 return 0; 1695} 1696EXPORT_SYMBOL(inode_needs_sync); 1697 | 1/* 2 * (C) 1997 Linus Torvalds 3 * (C) 1999 Andrea Arcangeli <andrea@suse.de> (dynamic inode allocation) 4 */ 5#include <linux/export.h> 6#include <linux/fs.h> 7#include <linux/mm.h> 8#include <linux/backing-dev.h> --- 1681 unchanged lines hidden (view full) --- 1690 if (IS_SYNC(inode)) 1691 return 1; 1692 if (S_ISDIR(inode->i_mode) && IS_DIRSYNC(inode)) 1693 return 1; 1694 return 0; 1695} 1696EXPORT_SYMBOL(inode_needs_sync); 1697 |
1698int inode_wait(void *word) 1699{ 1700 schedule(); 1701 return 0; 1702} 1703EXPORT_SYMBOL(inode_wait); 1704 | |
1705/* 1706 * If we try to find an inode in the inode hash while it is being 1707 * deleted, we have to wait until the filesystem completes its 1708 * deletion before reporting that it isn't found. This function waits 1709 * until the deletion _might_ have completed. Callers are responsible 1710 * to recheck inode state. 1711 * 1712 * It doesn't matter if I_NEW is not set initially, a call to --- 223 unchanged lines hidden --- | 1698/* 1699 * If we try to find an inode in the inode hash while it is being 1700 * deleted, we have to wait until the filesystem completes its 1701 * deletion before reporting that it isn't found. This function waits 1702 * until the deletion _might_ have completed. Callers are responsible 1703 * to recheck inode state. 1704 * 1705 * It doesn't matter if I_NEW is not set initially, a call to --- 223 unchanged lines hidden --- |