On 06/17/2015 08:08 AM, Leon Romanovsky wrote:
>> }
>> - if (error == -ENOSPC && !once++) {
>> + if (error == -ENOSPC) {
>> + if (!once++) {
>> info = SHMEM_I(inode);
>> spin_lock(>lock);
>>
> }
> - if (error == -ENOSPC && !once++) {
> + if (error == -ENOSPC) {
> + if (!once++) {
> info = SHMEM_I(inode);
> spin_lock(>lock);
> shmem_recalc_inode(inode);
> spin_unlock(>lock);
>
}
- 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);
On 06/17/2015 08:08 AM, Leon Romanovsky wrote:
}
- if (error == -ENOSPC !once++) {
+ if (error == -ENOSPC) {
+ if (!once++) {
info = SHMEM_I(inode);
spin_lock(info-lock);
shmem_recalc_inode(inode);
Add support for the generic FS events interface
covering threshold notifiactions and the ENOSPC
warning.
Signed-off-by: Beata Michalska
---
mm/shmem.c | 33 ++---
1 file changed, 30 insertions(+), 3 deletions(-)
diff --git a/mm/shmem.c b/mm/shmem.c
index
Add support for the generic FS events interface
covering threshold notifiactions and the ENOSPC
warning.
Signed-off-by: Beata Michalska b.michal...@samsung.com
---
mm/shmem.c | 33 ++---
1 file changed, 30 insertions(+), 3 deletions(-)
diff --git a/mm/shmem.c
6 matches
Mail list logo