Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 531682 | Differences between
and this patch

Collapse All | Expand All

(-)vmblock-only.orig/linux/file.c (-1 / +1 lines)
Lines 92-98 Link Here
92
    * and that would try to acquire the inode's semaphore; if the two inodes
92
    * and that would try to acquire the inode's semaphore; if the two inodes
93
    * are the same we'll deadlock.
93
    * are the same we'll deadlock.
94
    */
94
    */
95
   if (actualFile->f_dentry && inode == actualFile->f_dentry->d_inode) {
95
   if (actualFile->f_path.dentry && inode == actualFile->f_path.dentry->d_inode) {
96
      Warning("FileOpOpen: identical inode encountered, open cannot succeed.\n");
96
      Warning("FileOpOpen: identical inode encountered, open cannot succeed.\n");
97
      if (filp_close(actualFile, current->files) < 0) {
97
      if (filp_close(actualFile, current->files) < 0) {
98
         Warning("FileOpOpen: unable to close opened file.\n");
98
         Warning("FileOpOpen: unable to close opened file.\n");

Return to bug 531682