Thread (17 messages) 17 messages, 6 authors, 2015-07-30

Re: [RFC v3 4/4] shmem: Add support for generic FS events

From: Leon Romanovsky <hidden>
Date: 2015-06-17 06:08:41
Also in: linux-api, linux-fsdevel, linux-mm, lkml

        }
-       if (error == -ENOSPC && !once++) {
+       if (error == -ENOSPC) {
+               if (!once++) {
                info = SHMEM_I(inode);
                spin_lock(&info->lock);
                shmem_recalc_inode(inode);
                spin_unlock(&info->lock);
                goto repeat;
+               } else {
+                       fs_event_notify(inode->i_sb, FS_WARN_ENOSPC);
+               }
        }
Very minor remark, please fix indentation.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help