Whamcloud - gitweb
Branch HEAD
authoradilger <adilger>
Wed, 14 Feb 2007 00:20:17 +0000 (00:20 +0000)
committeradilger <adilger>
Wed, 14 Feb 2007 00:20:17 +0000 (00:20 +0000)
Line wrap comments at 80 columns.

lustre/llite/file.c

index 4e1fe10..7c0981f 100644 (file)
@@ -402,18 +402,16 @@ int ll_file_open(struct inode *inode, struct file *file)
 
         if (!it || !it->d.lustre.it_disposition) {
                 /* Convert f_flags into access mode. We cannot use file->f_mode,
-                 * because everything but O_ACCMODE mask was stripped from
-                 * there */
+                 * because everything but O_ACCMODE mask was stripped from it */
                 if ((oit.it_flags + 1) & O_ACCMODE)
                         oit.it_flags++;
                 if (file->f_flags & O_TRUNC)
                         oit.it_flags |= FMODE_WRITE;
 
-                /* kernel only call f_op->open in dentry_open.
-                 * filp_open calls dentry_open after call to open_namei that checks
-                 * for permissions. only nfsd_open call dentry_open directly without
-                 * checking permissions and because of that this code below is safe.
-                 */
+                /* kernel only call f_op->open in dentry_open.  filp_open calls
+                 * dentry_open after call to open_namei that checks permissions.
+                 * Only nfsd_open call dentry_open directly without checking
+                 * permissions and because of that this code below is safe. */
                 if (oit.it_flags & FMODE_WRITE)
                         oit.it_flags |= MDS_OPEN_OWNEROVERRIDE;