Subversion Repositories HelenOS

Compare Revisions

Regard whitespace Rev 2705 → Rev 2706

/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
245,7 → 245,7
char component[NAME_MAX + 1];
int len = 0;
while (next <= last) {
while (dtmp && next <= last) {
 
/* collect the component */
if (PLB_GET_CHAR(next) != '/') {
295,6 → 295,7
/* descent one level */
dcur = dtmp;
dtmp = dtmp->child;
}
 
/* handle miss: excessive components */
if (!dtmp && next <= last) {
326,9 → 327,8
unsigned long index;
index = create_node(dcur, component, lflag);
if (index) {
ipc_answer_4(rid, EOK,
tmpfs_reg.fs_handle, dev_handle,
index, 0);
ipc_answer_4(rid, EOK, tmpfs_reg.fs_handle,
dev_handle, index, 0);
} else {
ipc_answer_0(rid, ENOSPC);
}
338,8 → 338,6
return;
}
}
 
/* handle hit */
if (lflag & L_DESTROY) {
int res = destroy_component(dcur);