This commit was manufactured by cvs2svn to create branch
[linux-2.6.git] / include / linux / writeback.h
index e445007..6f91e4d 100644 (file)
@@ -64,6 +64,7 @@ void sync_inodes(int wait);
 /* writeback.h requires fs.h; it, too, is not included from here. */
 static inline void wait_on_inode(struct inode *inode)
 {
+       might_sleep();
        if (inode->i_state & I_LOCK)
                __wait_on_inode(inode);
 }